diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-08-20 10:48:13 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-09-05 17:19:51 -0400 |
commit | 8eb7925f93af75e66a240d148efdec212f95bcb7 (patch) | |
tree | 228544ec353c1c3fe374eb9ffe13c4efe7fa9f29 /drivers | |
parent | b53e674a707cf77e76339852abdc063696679261 (diff) |
[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 <adobriyan@gmail.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/agp/agp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 3c623b67ea1c..8b3317fd46c9 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h | |||
@@ -117,7 +117,7 @@ struct agp_bridge_driver { | |||
117 | }; | 117 | }; |
118 | 118 | ||
119 | struct agp_bridge_data { | 119 | struct agp_bridge_data { |
120 | struct agp_version *version; | 120 | const struct agp_version *version; |
121 | struct agp_bridge_driver *driver; | 121 | struct agp_bridge_driver *driver; |
122 | struct vm_operations_struct *vm_ops; | 122 | struct vm_operations_struct *vm_ops; |
123 | void *previous_size; | 123 | void *previous_size; |