forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/sh/include/asm/watchdog.h
....@@ -1,18 +1,13 @@
1
-/*
1
+/* SPDX-License-Identifier: GPL-2.0+
2
+ *
23 * include/asm-sh/watchdog.h
34 *
45 * Copyright (C) 2002, 2003 Paul Mundt
56 * Copyright (C) 2009 Siemens AG
67 * Copyright (C) 2009 Valentin Sitdikov
7
- *
8
- * This program is free software; you can redistribute it and/or modify it
9
- * under the terms of the GNU General Public License as published by the
10
- * Free Software Foundation; either version 2 of the License, or (at your
11
- * option) any later version.
128 */
139 #ifndef __ASM_SH_WATCHDOG_H
1410 #define __ASM_SH_WATCHDOG_H
15
-#ifdef __KERNEL__
1611
1712 #include <linux/types.h>
1813 #include <linux/io.h>
....@@ -161,5 +156,4 @@
161156 __raw_writew((WTCSR_HIGH << 8) | (__u16)val, WTCSR);
162157 }
163158 #endif /* CONFIG_CPU_SUBTYPE_SH7785 || CONFIG_CPU_SUBTYPE_SH7780 */
164
-#endif /* __KERNEL__ */
165159 #endif /* __ASM_SH_WATCHDOG_H */