]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: omap2: Fix warning in force_emif_self_refresh
authorTom Rini <trini@konsulko.com>
Mon, 17 Jul 2023 19:26:43 +0000 (15:26 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jul 2023 19:32:12 +0000 (15:32 -0400)
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 <trini@konsulko.com>
arch/arm/mach-omap2/emif-common.c

index a6a97af37d7b7ff5ac4f2e174f800597e686b05f..9daaeef731900da386b7627044e515ecc5baf6f7 100644 (file)
@@ -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())