[PATCH] powerpc: sanitize header files for user space includes
[linux-2.6-block.git] / include / asm-powerpc / eeh_event.h
index d168a30b3866ea11283ac10155befa7c2234c01b..5e11a00b6fa01722031e647e610f03d00faab3b9 100644 (file)
@@ -20,6 +20,7 @@
 
 #ifndef ASM_PPC64_EEH_EVENT_H
 #define ASM_PPC64_EEH_EVENT_H
+#ifdef __KERNEL__
 
 /** EEH event -- structure holding pci controller data that describes
  *  a change in the isolation status of a PCI slot.  A pointer
@@ -49,4 +50,5 @@ int eeh_send_failure_event (struct device_node *dn,
                             int reset_state,
                             int time_unavail);
 
+#endif /* __KERNEL__ */
 #endif /* ASM_PPC64_EEH_EVENT_H */