mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 14:48:17 +01:00
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>
This commit is contained in:
parent
300e475967
commit
7c97b715e9
@ -40,7 +40,7 @@ void set_lpmode_selfrefresh(u32 base)
|
|||||||
readl(&emif->emif_pwr_mgmt_ctrl);
|
readl(&emif->emif_pwr_mgmt_ctrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
void force_emif_self_refresh()
|
void force_emif_self_refresh(void)
|
||||||
{
|
{
|
||||||
set_lpmode_selfrefresh(EMIF1_BASE);
|
set_lpmode_selfrefresh(EMIF1_BASE);
|
||||||
if (!is_dra72x())
|
if (!is_dra72x())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user