summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-07-17 22:26:43 +0300
committerTom Rini <trini@konsulko.com>2023-07-21 22:32:12 +0300
commit7c97b715e920bc41f628b39925ac829ff9cf7d8f (patch)
tree4370ef370327fc114e0c0259fdb0892a6db227a3 /arch
parent300e475967ca2e7461e3f42593451dab9014be15 (diff)
downloadu-boot-7c97b715e920bc41f628b39925ac829ff9cf7d8f.tar.xz
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 <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/emif-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c
index a6a97af37d..9daaeef731 100644
--- a/arch/arm/mach-omap2/emif-common.c
+++ b/arch/arm/mach-omap2/emif-common.c
@@ -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())