Skip to content

Commit

Permalink
ARM: OMAP: omap_common_late_init may be unused
Browse files Browse the repository at this point in the history
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: Arnd Bergmann <[email protected]>
Cc: Tony Lindgren <[email protected]>
  • Loading branch information
arndb committed Jul 5, 2013
1 parent 5562b80 commit 069d0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 069d0a7

Please sign in to comment.