diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-07-05 10:20:17 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-07-05 17:07:41 -0400 |
commit | 069d0a7870f45a3eb0540825d6dc517eda2a525a (patch) | |
tree | 8266dfbffdcb32e33a2924fb9672533f48934566 /arch | |
parent | 5562b80033231bd50bd6809ab2db3b2ce5670dc3 (diff) |
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: Arnd Bergmann <arnd@arndb.de>
Cc: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index fe3253a100e7..4a3f06f02859 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -394,7 +394,7 @@ static void __init omap_hwmod_init_postsetup(void) | |||
394 | omap_pm_if_early_init(); | 394 | omap_pm_if_early_init(); |
395 | } | 395 | } |
396 | 396 | ||
397 | static void __init omap_common_late_init(void) | 397 | static void __init __maybe_unused omap_common_late_init(void) |
398 | { | 398 | { |
399 | omap_mux_late_init(); | 399 | omap_mux_late_init(); |
400 | omap2_common_pm_late_init(); | 400 | omap2_common_pm_late_init(); |