diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/soc/renesas/rcar-rst.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/soc/renesas/rcar-rst.h b/include/linux/soc/renesas/rcar-rst.h index a18e0783946b..787e7ad53d45 100644 --- a/include/linux/soc/renesas/rcar-rst.h +++ b/include/linux/soc/renesas/rcar-rst.h | |||
| @@ -1,6 +1,11 @@ | |||
| 1 | #ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__ | 1 | #ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__ |
| 2 | #define __LINUX_SOC_RENESAS_RCAR_RST_H__ | 2 | #define __LINUX_SOC_RENESAS_RCAR_RST_H__ |
| 3 | 3 | ||
| 4 | #if defined(CONFIG_ARCH_RCAR_GEN1) || defined(CONFIG_ARCH_RCAR_GEN2) || \ | ||
| 5 | defined(CONFIG_ARCH_R8A7795) || defined(CONFIG_ARCH_R8A7796) | ||
| 4 | int rcar_rst_read_mode_pins(u32 *mode); | 6 | int rcar_rst_read_mode_pins(u32 *mode); |
| 7 | #else | ||
| 8 | static inline int rcar_rst_read_mode_pins(u32 *mode) { return -ENODEV; } | ||
| 9 | #endif | ||
| 5 | 10 | ||
| 6 | #endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */ | 11 | #endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */ |
