summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 09:37:23 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-09 01:41:54 +0200
commit63c3f460cb47c2e06f1726e18534d0e1fe8652a7 (patch)
treeb1458690cc5c5b65b5931502bc0eb57831907811 /drivers/video
parent[QLA2XXX]: Fix build on sparc. (diff)
downloadlinux-63c3f460cb47c2e06f1726e18534d0e1fe8652a7.tar.xz
linux-63c3f460cb47c2e06f1726e18534d0e1fe8652a7.zip
[ATYFB]: Fix sparc includes.
No need to use asm/pbm.h here. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video')
-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