OSDN Git Service

ARM: pxa: include linux/leds.h
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Jan 2017 16:49:24 +0000 (17:49 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 18 Jan 2017 18:21:17 +0000 (19:21 +0100)
commit9315e63d3ced9c2bbdfd301d463cc91e6964a65f
tree72dcee85082d7ff8bcae50fe7807acd7d6d4dfed
parent67af5ebde1a4cd10e7bb663440de0773b7597c70
ARM: pxa: include linux/leds.h

When the header is not included implicitly, we get a build failure:

arch/arm/mach-pxa/idp.c:205:22: error: field 'cdev' has incomplete type
  struct led_classdev     cdev;

This adds an explicit #include.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/idp.c