Skip to contentSkip to conversation

uninorth-agp section mess

PATCH Applied Al Viro 2 participants 2 messages Nov 22, 2008 Agpgart driver

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 20/32 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.

---
 drivers/char/agp/uninorth-agp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/char/agp/uninorth-agp.c +1 -1
@@ -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)
 {
Acked-by on v1 20/32
#1 lore raw
Quoted 5 lines · Al Viro

'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.

Quoted 20 lines
---
 drivers/char/agp/uninorth-agp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/char/agp/uninorth-agp.c +1 -1
@@ -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)
 {

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev