2016-05-27 17:56:53 +08:00
|
|
|
#ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__
|
|
|
|
#define __LINUX_SOC_RENESAS_RCAR_RST_H__
|
|
|
|
|
2017-04-26 01:36:25 +08:00
|
|
|
#if defined(CONFIG_ARCH_RCAR_GEN1) || defined(CONFIG_ARCH_RCAR_GEN2) || \
|
|
|
|
defined(CONFIG_ARCH_R8A7795) || defined(CONFIG_ARCH_R8A7796)
|
2016-05-27 17:56:53 +08:00
|
|
|
int rcar_rst_read_mode_pins(u32 *mode);
|
2017-04-26 01:36:25 +08:00
|
|
|
#else
|
|
|
|
static inline int rcar_rst_read_mode_pins(u32 *mode) { return -ENODEV; }
|
|
|
|
#endif
|
2016-05-27 17:56:53 +08:00
|
|
|
|
|
|
|
#endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */
|