[patch] fix build breakage in sgi-agp.c

From: Jes Sorensen
Date: Tue Feb 27 2007 - 07:20:15 EST


Hi,

This one fixes the build breakage introduced in the recent const
change patch applied to drivers/char/agp

Cheers,
Jes

Fix build breakage from recent const changes.

Signed-off-by: Jes Sorensen <jes@xxxxxxx>

---
drivers/char/agp/sgi-agp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/char/agp/sgi-agp.c
===================================================================
--- linux-2.6.orig/drivers/char/agp/sgi-agp.c
+++ linux-2.6/drivers/char/agp/sgi-agp.c
@@ -247,7 +247,7 @@ static struct agp_bridge_data *sgi_tioca
return bridge;
}

-struct const agp_bridge_driver sgi_tioca_driver = {
+static const struct agp_bridge_driver sgi_tioca_driver = {
.owner = THIS_MODULE,
.size_type = U16_APER_SIZE,
.configure = sgi_tioca_configure,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/