From: Mark Brown Date: Fri, 23 Mar 2012 22:02:11 +0000 (-0700) Subject: drivers/leds/leds-gpio.c: use linux/gpio.h rather than asm/gpio.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=16db7f9095bf6bb394c9ddb64e738e64a0fea733;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git drivers/leds/leds-gpio.c: use linux/gpio.h rather than asm/gpio.h Direct usage of the asm include has long been deprecated by the introduction of gpiolib. Signed-off-by: Mark Brown Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index 7df74cb97e70..f4c470a3bc8d 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -20,8 +21,6 @@ #include #include -#include - struct gpio_led_data { struct led_classdev cdev; unsigned gpio;