Thread (22 messages) flat view 22 messages, 3 authors, 2015-02-10
STALE4205d

[PATCH 15/18] powerpc/powernv: sync #includes in opal.h with firmware

From: Stewart Smith <hidden>
Date: 2015-02-10 02:27:35
Also in: lkml
Subsystem: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

Signed-off-by: Stewart Smith <redacted>
---
 arch/powerpc/include/asm/opal.h |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
index 2aaa861..b60a25a 100644
--- a/arch/powerpc/include/asm/opal.h
+++ b/arch/powerpc/include/asm/opal.h
@@ -12,6 +12,12 @@
 #ifndef __OPAL_H
 #define __OPAL_H
 
+#ifdef __SKIBOOT__
+#ifndef __ASSEMBLY__
+#include <types.h>
+#endif /* __ASSEMBLY__ */
+#endif /* __SKIBOOT__ */
+
 /****** OPAL APIs ******/
 
 /* Return codes */
@@ -164,8 +170,6 @@
 
 #ifndef __ASSEMBLY__
 
-#include <linux/notifier.h>
-
 /* Other enums */
 enum OpalVendorApiTokens {
 	OPAL_START_VENDOR_API_RANGE = 1000, OPAL_END_VENDOR_API_RANGE = 1999
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help