]> Git Repo - linux.git/commitdiff
drivers/leds/leds-gpio.c: use linux/gpio.h rather than asm/gpio.h
authorMark Brown <[email protected]>
Fri, 23 Mar 2012 22:02:11 +0000 (15:02 -0700)
committerLinus Torvalds <[email protected]>
Fri, 23 Mar 2012 23:58:35 +0000 (16:58 -0700)
Direct usage of the asm include has long been deprecated by the
introduction of gpiolib.

Signed-off-by: Mark Brown <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/leds/leds-gpio.c

index 7df74cb97e702e693935ab798598b9967b0d0ae7..f4c470a3bc8dc3fa234114f691ad98656a3bef14 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
+#include <linux/gpio.h>
 #include <linux/leds.h>
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
@@ -20,8 +21,6 @@
 #include <linux/workqueue.h>
 #include <linux/module.h>
 
-#include <asm/gpio.h>
-
 struct gpio_led_data {
        struct led_classdev cdev;
        unsigned gpio;
This page took 0.048283 seconds and 4 git commands to generate.