瀏覽代碼

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 年之前
父節點
當前提交
b0385146bc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 {