]> git.karo-electronics.de Git - karo-tx-linux.git/blob - include/linux/soc/renesas/rcar-rst.h
Merge branch 'ufs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / include / linux / soc / renesas / rcar-rst.h
1 #ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__
2 #define __LINUX_SOC_RENESAS_RCAR_RST_H__
3
4 #if defined(CONFIG_ARCH_RCAR_GEN1) || defined(CONFIG_ARCH_RCAR_GEN2) || \
5     defined(CONFIG_ARCH_R8A7795) || defined(CONFIG_ARCH_R8A7796)
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
10
11 #endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */