diff options
Diffstat (limited to 'drivers/char/agp/via-agp.c')
-rw-r--r-- | drivers/char/agp/via-agp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c index 2e7c04370cd9..a2bb4eccaab4 100644 --- a/drivers/char/agp/via-agp.c +++ b/drivers/char/agp/via-agp.c | |||
@@ -89,7 +89,7 @@ static void via_tlbflush(struct agp_memory *mem) | |||
89 | } | 89 | } |
90 | 90 | ||
91 | 91 | ||
92 | static struct aper_size_info_8 via_generic_sizes[9] = | 92 | static const struct aper_size_info_8 via_generic_sizes[9] = |
93 | { | 93 | { |
94 | {256, 65536, 6, 0}, | 94 | {256, 65536, 6, 0}, |
95 | {128, 32768, 5, 128}, | 95 | {128, 32768, 5, 128}, |
@@ -170,7 +170,7 @@ static void via_tlbflush_agp3(struct agp_memory *mem) | |||
170 | } | 170 | } |
171 | 171 | ||
172 | 172 | ||
173 | static struct agp_bridge_driver via_agp3_driver = { | 173 | static const struct agp_bridge_driver via_agp3_driver = { |
174 | .owner = THIS_MODULE, | 174 | .owner = THIS_MODULE, |
175 | .aperture_sizes = agp3_generic_sizes, | 175 | .aperture_sizes = agp3_generic_sizes, |
176 | .size_type = U8_APER_SIZE, | 176 | .size_type = U8_APER_SIZE, |
@@ -194,7 +194,7 @@ static struct agp_bridge_driver via_agp3_driver = { | |||
194 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, | 194 | .agp_type_to_mask_type = agp_generic_type_to_mask_type, |
195 | }; | 195 | }; |
196 | 196 | ||
197 | static struct agp_bridge_driver via_driver = { | 197 | static const struct agp_bridge_driver via_driver = { |
198 | .owner = THIS_MODULE, | 198 | .owner = THIS_MODULE, |
199 | .aperture_sizes = via_generic_sizes, | 199 | .aperture_sizes = via_generic_sizes, |
200 | .size_type = U8_APER_SIZE, | 200 | .size_type = U8_APER_SIZE, |