X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmacio.h;h=3a6cb1a513b73e2078fc27f2528304383f58ad4e;hb=972d45fb43f0f0793fa275c4a22998106760cd61;hp=b553dd4b139ef21c2bfb08481209a071ccf0f750;hpb=8cedcfd43a0b00741fff43d6a4c1a8b7748db3b0;p=powerpc.git 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__ */