diff options
author | Patrick Delaunay | 2021-07-19 11:21:50 +0200 |
---|---|---|
committer | Tom Rini | 2021-07-28 19:30:22 -0400 |
commit | 558e699d156ebe7f0b51e05a2e38f35fbaa78b0f (patch) | |
tree | b2572db698e770ef83981fea3cb8a800b3bfe716 /arch | |
parent | 6a2626a9d0f69b2e1158edc63319e43892600e9e (diff) |
arm: use the correct prototype for reset_cpu function
Align reset_cpu function with the next prototypes in
sysreset.h or in cpu_func.h to solve compilation issue:
void reset_cpu(void);
This patch solves the prototype conflict when cpu_func.h is
included.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mediatek/mt8183/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mediatek/mt8183/init.c b/arch/arm/mach-mediatek/mt8183/init.c index 877f387102d..7496029705f 100644 --- a/arch/arm/mach-mediatek/mt8183/init.c +++ b/arch/arm/mach-mediatek/mt8183/init.c @@ -48,7 +48,7 @@ int mtk_soc_early_init(void) return 0; } -void reset_cpu(ulong addr) +void reset_cpu(void) { psci_system_reset(); } |