| .. | .. |
|---|
| 1 | | -/* |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ |
|---|
| 2 | + * |
|---|
| 2 | 3 | * include/asm-sh/watchdog.h |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2002, 2003 Paul Mundt |
|---|
| 5 | 6 | * Copyright (C) 2009 Siemens AG |
|---|
| 6 | 7 | * 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. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | #ifndef __ASM_SH_WATCHDOG_H |
|---|
| 14 | 10 | #define __ASM_SH_WATCHDOG_H |
|---|
| 15 | | -#ifdef __KERNEL__ |
|---|
| 16 | 11 | |
|---|
| 17 | 12 | #include <linux/types.h> |
|---|
| 18 | 13 | #include <linux/io.h> |
|---|
| .. | .. |
|---|
| 161 | 156 | __raw_writew((WTCSR_HIGH << 8) | (__u16)val, WTCSR); |
|---|
| 162 | 157 | } |
|---|
| 163 | 158 | #endif /* CONFIG_CPU_SUBTYPE_SH7785 || CONFIG_CPU_SUBTYPE_SH7780 */ |
|---|
| 164 | | -#endif /* __KERNEL__ */ |
|---|
| 165 | 159 | #endif /* __ASM_SH_WATCHDOG_H */ |
|---|