ARM: ixp4xx/omixp: always include linux/leds.h
authorArnd Bergmann <arnd@arndb.de>
Sat, 15 Mar 2014 10:52:49 +0000 (11:52 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:23:25 +0000 (18:23 +0100)
commite9c610a49bf7b0f9e2bf231e762b2e82dcbdc63a
tree3e9d18decc88ed167a85a5ba0cf9a3aa930012f6
parent1d858f3177eee9dcf7e0a4a933d5269db7875098
ARM: ixp4xx/omixp: always include linux/leds.h

The omixp board code unconditionally defines a gpio-led
device, but for some reason includes the header file
for this only if CONFIG_LEDS_CLASS is enabled, causing
a build error otherwise.

Removing the #ifdef fixes the build error with no downsides
whatsoever.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Imre Kaloz <kaloz@openwrt.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/omixp-setup.c