From: Alexey Dobriyan Date: Sun, 20 Aug 2006 14:48:13 +0000 (+0400) Subject: [AGPGART] agp.h: constify struct agp_bridge_data::version X-Git-Tag: v2.6.19-rc1~1282^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8eb7925f93af75e66a240d148efdec212f95bcb7;p=linux-2.6 [AGPGART] agp.h: constify struct agp_bridge_data::version drivers/char/agp/backend.c: In function `agp_backend_initialize': drivers/char/agp/backend.c:141: warning: assignment discards qualifiers from pointer target type Signed-off-by: Alexey Dobriyan Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 3c623b67ea..8b3317fd46 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h @@ -117,7 +117,7 @@ struct agp_bridge_driver { }; struct agp_bridge_data { - struct agp_version *version; + const struct agp_version *version; struct agp_bridge_driver *driver; struct vm_operations_struct *vm_ops; void *previous_size;