X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmacio.h;h=3a6cb1a513b73e2078fc27f2528304383f58ad4e;hb=5889ba0a6a1174ac38d7045824a2d2ed8e93d756;hp=b553dd4b139ef21c2bfb08481209a071ccf0f750;hpb=3d5271f9883cba7b54762bc4fe027d4172f06db7;p=linux-2.6 diff --git a/include/asm-powerpc/macio.h b/include/asm-powerpc/macio.h index b553dd4b13..3a6cb1a513 100644 --- a/include/asm-powerpc/macio.h +++ b/include/asm-powerpc/macio.h @@ -1,5 +1,6 @@ #ifndef __MACIO_ASIC_H__ #define __MACIO_ASIC_H__ +#ifdef __KERNEL__ #include @@ -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__ */