Skip to contentSkip to conversation

leds: Use linux/gpio.h rather than asm/gpio.h

PATCH New Mark Brown 1 participant 1 message Feb 4, 2012 LED

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 leds: Use linux/gpio.h rather than asm/gpio.h

Direct usage of the asm include has long been deprecated by the introduction of gpiolib.

---
 drivers/leds/leds-gpio.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/leds/leds-gpio.c +1 -2
index 7df74cb..f4c470a 100644
@@ -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;
Signature · 1 line
1.7.9.rc1