Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 069d0a78 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

ARM: OMAP: omap_common_late_init may be unused



Some OMAP SoCs use this function while others do not, and that
causes a warning when building multi_v7_defconfig. Marking the
function __maybe_unused silences the harmless warning without the
need to add complex #ifdef logic.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Cc: Tony Lindgren <tony@atomide.com>
parent 5562b800
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -394,7 +394,7 @@ static void __init omap_hwmod_init_postsetup(void)
	omap_pm_if_early_init();
}

static void __init omap_common_late_init(void)
static void __init __maybe_unused omap_common_late_init(void)
{
	omap_mux_late_init();
	omap2_common_pm_late_init();