summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/prom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/prom.h')
-rw-r--r--include/asm-ppc/prom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-ppc/prom.h b/include/asm-ppc/prom.h
index a3d6e5d22..dc98c596d 100644
--- a/include/asm-ppc/prom.h
+++ b/include/asm-ppc/prom.h
@@ -7,11 +7,16 @@
#ifndef _PPC_PROM_H
#define _PPC_PROM_H
+#include <linux/config.h>
+
typedef void *phandle;
typedef void *ihandle;
extern char *prom_display_paths[];
extern unsigned int prom_num_displays;
+#ifndef CONFIG_MACH_SPECIFIC
+extern int have_of;
+#endif
struct address_range {
unsigned int space;