]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: omap_common_late_init may be unused
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Jul 2013 14:20:17 +0000 (16:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 5 Jul 2013 21:07:41 +0000 (23:07 +0200)
commit2b5a7a88f74c181b0afa509a1c674f89c3996b1a
tree8266dfbffdcb32e33a2924fb9672533f48934566
parentd38696e65f9b82bbe7b8da1a23a2d4c8c2ccc424
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>
arch/arm/mach-omap2/io.c