arm: omap2: Fix warning in force_emif_self_refresh
Subsystems (3)
PATCH 1/1 arm: omap2: Fix warning in force_emif_self_refresh
The function declaration for force_emif_self_refresh takes no parameters but does not specify this, only the prototype in the headers do. As clang will warn about this, correct it.
Signed-off-by Tom Rini <[email protected]>
--- arch/arm/mach-omap2/emif-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/emif-common.c +1 -1
@@ -40,7 +40,7 @@ void set_lpmode_selfrefresh(u32 base)readl (&emif->emif_pwr_mgmt_ctrl); } -void force_emif_self_refresh () +void force_emif_self_refresh (void ) {set_lpmode_selfrefresh (EMIF1_BASE );if (!is_dra72x ())
Signature · 1 line
2.34.1
Quoted 5 lines · Tom Rini
The function declaration for
force_emif_self_refreshtakes no parameters but does not specify this, only the prototype in the headers do. As clang will warn about this, correct it.Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom