powerpc/sysdev: Add __init attribute to eligible functions
[linux-2.6-block.git] / arch / powerpc / include / asm / xics.h
index 0ac9bfddf70427128dbbb3fe6792e51b2d16df0f..e2e704eca5f65b62daf02742303eeff0fe733cf3 100644 (file)
@@ -38,13 +38,13 @@ static inline int icp_native_init(void) { return -ENODEV; }
 
 /* PAPR ICP */
 #ifdef CONFIG_PPC_ICP_HV
-extern int icp_hv_init(void);
+int __init icp_hv_init(void);
 #else
 static inline int icp_hv_init(void) { return -ENODEV; }
 #endif
 
 #ifdef CONFIG_PPC_POWERNV
-extern int icp_opal_init(void);
+int __init icp_opal_init(void);
 extern void icp_opal_flush_interrupt(void);
 #else
 static inline int icp_opal_init(void) { return -ENODEV; }