X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fof_device.h;h=6249a7c396395c469dd67a0ac25ddf5edb554876;hb=a2308b7f0838406c346a2b0259ff88c7fcf41e79;hp=ddb16aae0bd656aba9b37f6cfef77be192a0402b;hpb=18ce920a6eba05c0d55cdc95fbbadf7e4c4b457b;p=linux-2.6 diff --git a/include/asm-powerpc/of_device.h b/include/asm-powerpc/of_device.h index ddb16aae0b..6249a7c396 100644 --- a/include/asm-powerpc/of_device.h +++ b/include/asm-powerpc/of_device.h @@ -1,5 +1,6 @@ #ifndef _ASM_POWERPC_OF_DEVICE_H #define _ASM_POWERPC_OF_DEVICE_H +#ifdef __KERNEL__ #include #include @@ -61,4 +62,5 @@ extern struct of_device *of_platform_device_create(struct device_node *np, struct device *parent); extern void of_release_dev(struct device *dev); +#endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_OF_DEVICE_H */