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-Tag: firefly_0821_release~3680^2~3270^2~91 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=16db7f9095bf6bb394c9ddb64e738e64a0fea733;p=firefly-linux-kernel-4.4.55.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;