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/ati-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/ati-agp.c')
-rw-r--r-- | drivers/char/agp/ati-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index 77c9ad68fba9..780e59e588ad 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #define ATI_GART_CACHE_ENTRY_CNTRL 0x10 | 24 | #define ATI_GART_CACHE_ENTRY_CNTRL 0x10 |
25 | 25 | ||
26 | 26 | ||
27 | static struct aper_size_info_lvl2 ati_generic_sizes[7] = | 27 | static const struct aper_size_info_lvl2 ati_generic_sizes[7] = |
28 | { | 28 | { |
29 | {2048, 524288, 0x0000000c}, | 29 | {2048, 524288, 0x0000000c}, |
30 | {1024, 262144, 0x0000000a}, | 30 | {1024, 262144, 0x0000000a}, |
@@ -410,7 +410,7 @@ static int ati_free_gatt_table(struct agp_bridge_data *bridge) | |||
410 | return 0; | 410 | return 0; |
411 | } | 411 | } |
412 | 412 | ||
413 | static struct agp_bridge_driver ati_generic_bridge = { | 413 | static const struct agp_bridge_driver ati_generic_bridge = { |
414 | .owner = THIS_MODULE, | 414 | .owner = THIS_MODULE, |
415 | .aperture_sizes = ati_generic_sizes, | 415 | .aperture_sizes = ati_generic_sizes, |
416 | .size_type = LVL2_APER_SIZE, | 416 | .size_type = LVL2_APER_SIZE, |