git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-sh
/
watchdog.h
diff --git
a/include/asm-sh/watchdog.h
b/include/asm-sh/watchdog.h
index
ff05517
..
f0cf4be
100644
(file)
--- 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 <linux/types.h>
#include <linux/config.h>
@@
-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 */
-