patch-2.4.0-test11 linux/include/asm-ppc/mc146818rtc.h

Next file: linux/include/asm-ppc/md.h
Previous file: linux/include/asm-ppc/mbx.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/mc146818rtc.h linux/include/asm-ppc/mc146818rtc.h
@@ -1,6 +1,7 @@
 /*
  * Machine dependent access functions for RTC registers.
  */
+#ifdef __KERNEL__
 #ifndef __ASM_PPC_MC146818RTC_H
 #define __ASM_PPC_MC146818RTC_H
 
@@ -27,3 +28,4 @@
 #define RTC_IRQ 8
 
 #endif /* __ASM_PPC_MC146818RTC_H */
+#endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)