summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 00:37:23 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 16:41:54 -0700
commit63c3f460cb47c2e06f1726e18534d0e1fe8652a7 (patch)
treeb1458690cc5c5b65b5931502bc0eb57831907811
parent15576bc8adb33d58867942385ae849cc48379610 (diff)
downloadlinux-63c3f460cb47c2e06f1726e18534d0e1fe8652a7.tar.bz2
[ATYFB]: Fix sparc includes.
No need to use asm/pbm.h here. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/video/aty/atyfb_base.c3
-rw-r--r--drivers/video/aty/mach64_cursor.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index ea67dd902d4e..8d3455da663a 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -80,8 +80,9 @@
#include "../macmodes.h"
#endif
#ifdef __sparc__
-#include <asm/pbm.h>
#include <asm/fbio.h>
+#include <asm/oplib.h>
+#include <asm/prom.h>
#endif
#ifdef CONFIG_ADB_PMU
diff --git a/drivers/video/aty/mach64_cursor.c b/drivers/video/aty/mach64_cursor.c
index 2a7f381c330f..fe2c6ad01a8d 100644
--- a/drivers/video/aty/mach64_cursor.c
+++ b/drivers/video/aty/mach64_cursor.c
@@ -11,7 +11,6 @@
#include <asm/uaccess.h>
#ifdef __sparc__
-#include <asm/pbm.h>
#include <asm/fbio.h>
#endif