aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/of.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/of.h')
-rw-r--r--arch/powerpc/boot/of.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/of.h b/arch/powerpc/boot/of.h
index 40d95bf7402b..0f058ef69521 100644
--- a/arch/powerpc/boot/of.h
+++ b/arch/powerpc/boot/of.h
@@ -23,4 +23,6 @@ typedef u32 __be32;
#define cpu_to_be32(x) (x)
#define be32_to_cpu(x) (x)
+#define PROM_ERROR (-1u)
+
#endif /* _PPC_BOOT_OF_H_ */