Browse Source

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 năm trước cách đây
mục cha
commit
b0385146bc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
 {