diff options
| author | Tom Rini <[email protected]> | 2023-07-17 15:26:43 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-07-21 15:32:12 -0400 |
| commit | 7c97b715e920bc41f628b39925ac829ff9cf7d8f (patch) | |
| tree | 4370ef370327fc114e0c0259fdb0892a6db227a3 | |
| parent | 300e475967ca2e7461e3f42593451dab9014be15 (diff) | |
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]>
| -rw-r--r-- | arch/arm/mach-omap2/emif-common.c | 2 |
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 a6a97af37d7..9daaeef7319 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()) |
