]> err.no Git - linux-2.6/commitdiff
[AGPGART] agp.h: constify struct agp_bridge_data::version
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 20 Aug 2006 14:48:13 +0000 (18:48 +0400)
committerDave Jones <davej@redhat.com>
Tue, 5 Sep 2006 21:19:51 +0000 (17:19 -0400)
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 <adobriyan@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/agp.h

index 3c623b67ea1cd87de906a65c6ccb6655cc9f46ab..8b3317fd46c9a8fdb9c6ce02f390639fbb61e315 100644 (file)
@@ -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;