summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/via/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/via/global.h')
-rw-r--r--drivers/video/fbdev/via/global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/fbdev/via/global.h b/drivers/video/fbdev/via/global.h
index 275dbbbd6b81..649d2ca5516e 100644
--- a/drivers/video/fbdev/via/global.h
+++ b/drivers/video/fbdev/via/global.h
@@ -33,6 +33,12 @@
#include <linux/console.h>
#include <linux/timer.h>
+#ifdef CONFIG_X86
+#include <asm/olpc.h>
+#else
+#define machine_is_olpc(x) 0
+#endif
+
#include "debug.h"
#include "viafbdev.h"