• Arnd Bergmann's avatar
    ARM: ixp4xx/omixp: always include linux/leds.h · e9c610a4
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Cc: Imre Kaloz <kaloz@openwrt.org>
    Cc: Krzysztof Halasa <khc@pm.waw.pl>
    e9c610a4
omixp-setup.c 6.19 KB