]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dove: mark 'putc' as inline
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Sep 2021 09:53:33 +0000 (11:53 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 5 Oct 2021 13:40:38 +0000 (15:40 +0200)
commitdb6544d6586096bd492ef51cba49ddbbabe22c48
treedd39c30d5434a5302eb3e6e103039dcba467f691
parent567b32805a5a6e6f983990813c3994d858a4aff5
ARM: dove: mark 'putc' as inline

This can cause a randconfig warning without the 'inline' flag
that every other platform uses:

In file included from arch/arm/boot/compressed/misc.c:29:
arch/arm/mach-dove/include/mach/uncompress.h:14:13: error: 'putc' defined but not used [-Werror=unused-function]
   14 | static void putc(const char c)
      |             ^~~~

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210927095343.1015422-1-arnd@kernel.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-dove/include/mach/uncompress.h