X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sh%2Fwatchdog.h;h=f0cf4be21655a1d64e04c8466ad38ebbf4607495;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ff055178d2c1669ea641f83d476b6b8318e2ddd7;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-sh/watchdog.h b/include/asm-sh/watchdog.h index ff055178d..f0cf4be21 100644 --- a/include/asm-sh/watchdog.h +++ b/include/asm-sh/watchdog.h @@ -10,6 +10,7 @@ */ #ifndef __ASM_SH_WATCHDOG_H #define __ASM_SH_WATCHDOG_H +#ifdef __KERNEL__ #include #include @@ -106,5 +107,5 @@ static inline void sh_wdt_write_csr(__u8 val) ctrl_outw((WTCSR_HIGH << 8) | (__u16)val, WTCSR); } +#endif /* __KERNEL__ */ #endif /* __ASM_SH_WATCHDOG_H */ -