X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmacio.h;h=3a6cb1a513b73e2078fc27f2528304383f58ad4e;hb=7ac3ae32d170cea8cb8e7822acc29ed8f1b1018d;hp=b553dd4b139ef21c2bfb08481209a071ccf0f750;hpb=87199134b4a85de56a7508c551ab3b3a3ee35035;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__ */