From: Al Viro Date: Sat, 22 Nov 2008 17:36:34 +0000 (+0000) Subject: uninorth-agp section mess X-Git-Tag: v2.6.28-rc7~71 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b0385146bcdd24b0390c2b60fd05a083888835db;p=linux-2.6-omap-h63xx.git uninorth-agp section mess 'aperture' is declared devinitdata (the whole word of it) and is used from ->fetch_size() which can, AFAICS, be used on !HOTPLUG after init time. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c index 0f004b65ec0..03f95ec08f5 100644 --- a/drivers/char/agp/uninorth-agp.c +++ b/drivers/char/agp/uninorth-agp.c @@ -27,7 +27,7 @@ static int uninorth_rev; static int is_u3; -static char __devinitdata *aperture = NULL; +static char *aperture = NULL; static int uninorth_fetch_size(void) {