diff options
Diffstat (limited to 'drivers/char/agp/i460-agp.c')
-rw-r--r-- | drivers/char/agp/i460-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/i460-agp.c b/drivers/char/agp/i460-agp.c index 3e7618653abd..1cde376a45ef 100644 --- a/drivers/char/agp/i460-agp.c +++ b/drivers/char/agp/i460-agp.c | |||
@@ -78,7 +78,7 @@ static struct { | |||
78 | } *lp_desc; | 78 | } *lp_desc; |
79 | } i460; | 79 | } i460; |
80 | 80 | ||
81 | static struct aper_size_info_8 i460_sizes[3] = | 81 | static const struct aper_size_info_8 i460_sizes[3] = |
82 | { | 82 | { |
83 | /* | 83 | /* |
84 | * The 32GB aperture is only available with a 4M GART page size. Due to the | 84 | * The 32GB aperture is only available with a 4M GART page size. Due to the |
@@ -550,7 +550,7 @@ static unsigned long i460_mask_memory (struct agp_bridge_data *bridge, | |||
550 | | (((addr & ~((1 << I460_IO_PAGE_SHIFT) - 1)) & 0xfffff000) >> 12); | 550 | | (((addr & ~((1 << I460_IO_PAGE_SHIFT) - 1)) & 0xfffff000) >> 12); |
551 | } | 551 | } |
552 | 552 | ||
553 | struct agp_bridge_driver intel_i460_driver = { | 553 | struct const agp_bridge_driver intel_i460_driver = { |
554 | .owner = THIS_MODULE, | 554 | .owner = THIS_MODULE, |
555 | .aperture_sizes = i460_sizes, | 555 | .aperture_sizes = i460_sizes, |
556 | .size_type = U8_APER_SIZE, | 556 | .size_type = U8_APER_SIZE, |