diff options
author | Dave Jones <davej@redhat.com> | 2007-02-22 18:41:28 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-02-22 18:41:28 -0500 |
commit | e5524f355a0d272ba5233537a896a668db1f3008 (patch) | |
tree | 0d939cbf96fe20fd914e2b480695e992ac307798 /drivers/char/agp/amd64-agp.c | |
parent | a5220b463e957c9a434295503cdf635d93454d78 (diff) |
[AGPGART] Further constification.
Make agp_bridge_driver->aperture_sizes and ->masks const.
Also agp_bridge_data->driver
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/char/agp/amd64-agp.c')
-rw-r--r-- | drivers/char/agp/amd64-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/amd64-agp.c b/drivers/char/agp/amd64-agp.c index 636d984ed4a6..485720486d60 100644 --- a/drivers/char/agp/amd64-agp.c +++ b/drivers/char/agp/amd64-agp.c | |||
@@ -192,7 +192,7 @@ static u64 amd64_configure (struct pci_dev *hammer, u64 gatt_table) | |||
192 | } | 192 | } |
193 | 193 | ||
194 | 194 | ||
195 | static struct aper_size_info_32 amd_8151_sizes[7] = | 195 | static const struct aper_size_info_32 amd_8151_sizes[7] = |
196 | { | 196 | { |
197 | {2048, 524288, 9, 0x00000000 }, /* 0 0 0 0 0 0 */ | 197 | {2048, 524288, 9, 0x00000000 }, /* 0 0 0 0 0 0 */ |
198 | {1024, 262144, 8, 0x00000400 }, /* 1 0 0 0 0 0 */ | 198 | {1024, 262144, 8, 0x00000400 }, /* 1 0 0 0 0 0 */ |
@@ -232,7 +232,7 @@ static void amd64_cleanup(void) | |||
232 | } | 232 | } |
233 | 233 | ||
234 | 234 | ||
235 | static struct agp_bridge_driver amd_8151_driver = { | 235 | static const struct agp_bridge_driver amd_8151_driver = { |
236 | .owner = THIS_MODULE, | 236 | .owner = THIS_MODULE, |
237 | .aperture_sizes = amd_8151_sizes, | 237 | .aperture_sizes = amd_8151_sizes, |
238 | .size_type = U32_APER_SIZE, | 238 | .size_type = U32_APER_SIZE, |