X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmacio.h;h=079c06eae4466d4319cafed887a6faa25d6cd930;hb=9a5467fd600669cda488771dac3e951034fe2b08;hp=b553dd4b139ef21c2bfb08481209a071ccf0f750;hpb=c2cc87ca9561ddfe744d446789cc10f507e87db9;p=linux-2.6 diff --git a/include/asm-powerpc/macio.h b/include/asm-powerpc/macio.h index b553dd4b13..079c06eae4 100644 --- a/include/asm-powerpc/macio.h +++ b/include/asm-powerpc/macio.h @@ -1,7 +1,8 @@ #ifndef __MACIO_ASIC_H__ #define __MACIO_ASIC_H__ +#ifdef __KERNEL__ -#include +#include extern struct bus_type macio_bus_type; @@ -137,4 +138,5 @@ struct macio_driver extern int macio_register_driver(struct macio_driver *); extern void macio_unregister_driver(struct macio_driver *); +#endif /* __KERNEL__ */ #endif /* __MACIO_ASIC_H__ */