]> Git Repo - linux.git/blob - include/linux/soc/renesas/rcar-rst.h
HID: hid-sensor-custom: Fix big on-stack allocation in hid_sensor_custom_get_known()
[linux.git] / include / linux / soc / renesas / rcar-rst.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_SOC_RENESAS_RCAR_RST_H__
3 #define __LINUX_SOC_RENESAS_RCAR_RST_H__
4
5 #ifdef CONFIG_RST_RCAR
6 int rcar_rst_read_mode_pins(u32 *mode);
7 int rcar_rst_set_rproc_boot_addr(u64 boot_addr);
8 #else
9 static inline int rcar_rst_read_mode_pins(u32 *mode) { return -ENODEV; }
10 static inline int rcar_rst_set_rproc_boot_addr(u64 boot_addr) { return -ENODEV; }
11 #endif
12
13 #endif /* __LINUX_SOC_RENESAS_RCAR_RST_H__ */
This page took 0.037294 seconds and 4 git commands to generate.