summaryrefslogtreecommitdiffstats
path: root/drivers/video/mb862xx
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-06-17 00:34:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-17 04:47:59 +0200
commit24f01dcb53a950999f42f55123f7bc4ccda4ca57 (patch)
tree0d9694c185fcd8dbae66b22b9ed226f4ae25d811 /drivers/video/mb862xx
parentmb862xxfb: restrict compliation of platform driver to PPC (diff)
downloadlinux-24f01dcb53a950999f42f55123f7bc4ccda4ca57.tar.xz
linux-24f01dcb53a950999f42f55123f7bc4ccda4ca57.zip
mb862xxfb: use CONFIG_OF instead of CONFIG_PPC_OF
With this change, the driver builds fine on Microblaze, which helps allyesconfig compile tests. I did not test sparc, but the change should have the same effect there. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Anatolij Gustschin <agust@denx.de> Tested-by: Anatolij Gustschin <agust@denx.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/mb862xx')
-rw-r--r--drivers/video/mb862xx/mb862xxfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mb862xx/mb862xxfb.c b/drivers/video/mb862xx/mb862xxfb.c
index fb64234a3825..a28e3cfbbf70 100644
--- a/drivers/video/mb862xx/mb862xxfb.c
+++ b/drivers/video/mb862xx/mb862xxfb.c
@@ -19,7 +19,7 @@
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
-#if defined(CONFIG_PPC_OF)
+#if defined(CONFIG_OF)
#include <linux/of_platform.h>
#endif
#include "mb862xxfb.h"