summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/hp-agp.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2007-02-23 00:41:28 +0100
committerDave Jones <davej@redhat.com>2007-02-23 00:41:28 +0100
commite5524f355a0d272ba5233537a896a668db1f3008 (patch)
tree0d939cbf96fe20fd914e2b480695e992ac307798 /drivers/char/agp/hp-agp.c
parent[AGPGART] Fix modular agpgart ia64 allmodconfig (diff)
downloadlinux-e5524f355a0d272ba5233537a896a668db1f3008.tar.xz
linux-e5524f355a0d272ba5233537a896a668db1f3008.zip
[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/hp-agp.c')
-rw-r--r--drivers/char/agp/hp-agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/hp-agp.c b/drivers/char/agp/hp-agp.c
index 847deabf7f9b..79f7c01db75a 100644
--- a/drivers/char/agp/hp-agp.c
+++ b/drivers/char/agp/hp-agp.c
@@ -419,7 +419,7 @@ hp_zx1_enable (struct agp_bridge_data *bridge, u32 mode)
agp_device_command(command, (mode & AGP8X_MODE) != 0);
}
-struct agp_bridge_driver hp_zx1_driver = {
+struct const agp_bridge_driver hp_zx1_driver = {
.owner = THIS_MODULE,
.size_type = FIXED_APER_SIZE,
.configure = hp_zx1_configure,