ARM: locomo: fix locomolcd_power declaration
authorArnd Bergmann <arnd@arndb.de>
Wed, 27 Sep 2023 19:38:10 +0000 (21:38 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Sep 2023 07:15:51 +0000 (09:15 +0200)
commit5e8a380b2dd3643392ba32711176fe710ad86e8b
tree5d2f4d629b0b2ca743b8ac836c8421c4bb834a00
parent5106e65f23ce81d48d135cb77f3ab4faf59ffad8
ARM: locomo: fix locomolcd_power declaration

The locomolcd driver has one remaining missing-prototype warning:

drivers/video/backlight/locomolcd.c:83:6: error: no previous prototype for 'locomolcd_power' [-Werror=missing-prototypes]

There is in fact an unused prototype with a similar name in a global
header, so move the actual one there and remove the old one.

Link: https://lore.kernel.org/r/20230927194844.680771-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/include/asm/hardware/locomo.h
arch/arm/mach-sa1100/include/mach/collie.h