]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PARISC] parisc-agp: Fix thinko const-ifying
authorKyle McMartin <kyle@mako.i.cabal.ca>
Tue, 27 Feb 2007 02:29:26 +0000 (21:29 -0500)
committerKyle McMartin <kyle@mako.i.cabal.ca>
Tue, 27 Feb 2007 02:29:26 +0000 (21:29 -0500)
Can't really blame davej for mucking this up... static-ify
it while we're at it, which would have prevented this...

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
drivers/char/agp/parisc-agp.c

index 3c8f3d63362570637c39235d3890b95d8ab48dd2..3d83b461ccadef926c80f8217de6e2688840557d 100644 (file)
@@ -210,7 +210,7 @@ parisc_agp_enable(struct agp_bridge_data *bridge, u32 mode)
        agp_device_command(command, (mode & AGP8X_MODE) != 0);
 }
 
-struct const agp_bridge_driver parisc_agp_driver = {
+static const struct agp_bridge_driver parisc_agp_driver = {
        .owner                  = THIS_MODULE,
        .size_type              = FIXED_APER_SIZE,
        .configure              = parisc_agp_configure,