summaryrefslogtreecommitdiffstats
path: root/include/linux/soc/renesas/rcar-rst.h
blob: 787e7ad53d45f61cb045c047c610996de1141a7a (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__
#define __LINUX_SOC_RENESAS_RCAR_RST_H__

#if defined(CONFIG_ARCH_RCAR_GEN1) || defined(CONFIG_ARCH_RCAR_GEN2) || \
    defined(CONFIG_ARCH_R8A7795) || defined(CONFIG_ARCH_R8A7796)
int rcar_rst_read_mode_pins(u32 *mode);
#else
static inline int rcar_rst_read_mode_pins(u32 *mode) { return -ENODEV; }
#endif

#endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */
OpenPOWER on IntegriCloud