]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe253c15accae76d68d225eccc291108476a4370
tree3e9d18decc88ed167a85a5ba0cf9a3aa930012f6
parentb34696fc97aa4f83d9565d67acd6c20d79d50229
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