]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/ibmebus.h
[S390] avenrun export in appdata_base.c
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / ibmebus.h
index 55982b8e5b98943a1d9868f68701c4e3c2bb64e3..7a42723d107c277ce7c8f8cf00dfbe0d9b70f603 100644 (file)
@@ -37,6 +37,7 @@
 
 #ifndef _ASM_EBUS_H
 #define _ASM_EBUS_H
+#ifdef __KERNEL__
 
 #include <linux/device.h>
 #include <linux/interrupt.h>
@@ -80,4 +81,5 @@ static inline struct ibmebus_dev *to_ibmebus_dev(struct device *dev)
 }
 
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_IBMEBUS_H */