powerpc/xics: Add ICP OPAL backend
[cascardo/linux.git] / arch / powerpc / include / asm / xics.h
index 04ef3ae..f5f729c 100644 (file)
@@ -42,6 +42,12 @@ extern int icp_hv_init(void);
 static inline int icp_hv_init(void) { return -ENODEV; }
 #endif
 
+#ifdef CONFIG_PPC_POWERNV
+extern int icp_opal_init(void);
+#else
+static inline int icp_opal_init(void) { return -ENODEV; }
+#endif
+
 /* ICP ops */
 struct icp_ops {
        unsigned int (*get_irq)(void);