summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/residual.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/residual.h')
-rw-r--r--include/asm-ppc/residual.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/residual.h b/include/asm-ppc/residual.h
index c037a4e4a..685c04502 100644
--- a/include/asm-ppc/residual.h
+++ b/include/asm-ppc/residual.h
@@ -10,6 +10,7 @@
/* i.e. only one bit is on for each enum */
/* Reserved fields must be filled with zeros. */
+#ifdef __KERNEL__
#ifndef _RESIDUAL_
#define _RESIDUAL_
@@ -330,3 +331,4 @@ extern PnP_TAG_PACKET *PnP_find_large_vendor_packet(unsigned char *p,
#endif /* __ASSEMBLY__ */
#endif /* ndef _RESIDUAL_ */
+#endif /* __KERNEL__ */