2007-02-27 12:19:55

by Jes Sorensen

[permalink] [raw]
Subject: [patch] fix build breakage in sgi-agp.c

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 <[email protected]>

---
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,