aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ibmebus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/ibmebus.h')
-rw-r--r--include/asm-powerpc/ibmebus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/ibmebus.h b/include/asm-powerpc/ibmebus.h
index 55982b8e5b98..7a42723d107c 100644
--- a/include/asm-powerpc/ibmebus.h
+++ b/include/asm-powerpc/ibmebus.h
@@ -37,6 +37,7 @@
37 37
38#ifndef _ASM_EBUS_H 38#ifndef _ASM_EBUS_H
39#define _ASM_EBUS_H 39#define _ASM_EBUS_H
40#ifdef __KERNEL__
40 41
41#include <linux/device.h> 42#include <linux/device.h>
42#include <linux/interrupt.h> 43#include <linux/interrupt.h>
@@ -80,4 +81,5 @@ static inline struct ibmebus_dev *to_ibmebus_dev(struct device *dev)
80} 81}
81 82
82 83
84#endif /* __KERNEL__ */
83#endif /* _ASM_IBMEBUS_H */ 85#endif /* _ASM_IBMEBUS_H */