#ifndef _ASM_EBUS_H
#define _ASM_EBUS_H
+#ifdef __KERNEL__
#include <linux/device.h>
#include <linux/interrupt.h>
extern struct bus_type ibmebus_bus_type;
struct ibmebus_dev {
- char *name;
+ const char *name;
struct of_device ofdev;
};
}
+#endif /* __KERNEL__ */
#endif /* _ASM_IBMEBUS_H */