瀏覽代碼

[ATYFB]: Fix sparc includes.

No need to use asm/pbm.h here.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 年之前
父節點
當前提交
63c3f460cb
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 2 1
      drivers/video/aty/atyfb_base.c
  2. 0 1
      drivers/video/aty/mach64_cursor.c

+ 2 - 1
drivers/video/aty/atyfb_base.c

@@ -80,8 +80,9 @@
 #include "../macmodes.h"
 #include "../macmodes.h"
 #endif
 #endif
 #ifdef __sparc__
 #ifdef __sparc__
-#include <asm/pbm.h>
 #include <asm/fbio.h>
 #include <asm/fbio.h>
+#include <asm/oplib.h>
+#include <asm/prom.h>
 #endif
 #endif
 
 
 #ifdef CONFIG_ADB_PMU
 #ifdef CONFIG_ADB_PMU

+ 0 - 1
drivers/video/aty/mach64_cursor.c

@@ -11,7 +11,6 @@
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>
 
 
 #ifdef __sparc__
 #ifdef __sparc__
-#include <asm/pbm.h>
 #include <asm/fbio.h>
 #include <asm/fbio.h>
 #endif
 #endif