diff options
Diffstat (limited to 'include/soc/stm32/reboot.h')
-rw-r--r-- | include/soc/stm32/reboot.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/soc/stm32/reboot.h b/include/soc/stm32/reboot.h index d6c731f59f..c067c27229 100644 --- a/include/soc/stm32/reboot.h +++ b/include/soc/stm32/reboot.h @@ -5,10 +5,12 @@ #include <linux/compiler.h> +struct device; + #ifdef CONFIG_RESET_STM32 -void stm32mp_system_restart_init(void __iomem *rcc); +void stm32mp_system_restart_init(struct device *rcc); #else -static inline void stm32mp_system_restart_init(void __iomem *rcc) +static inline void stm32mp_system_restart_init(struct device *rcc) { } #endif |