Sfoglia il codice sorgente

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 <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Al Viro 16 anni fa
parent
commit
b0385146bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/char/agp/uninorth-agp.c

+ 1 - 1
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)
 {