]> git.karo-electronics.de Git - linux-beck.git/commitdiff
leds: Include linux/of.h header
authorSachin Kamat <sachin.kamat@linaro.org>
Sat, 28 Sep 2013 11:38:30 +0000 (04:38 -0700)
committerBryan Wu <cooloney@gmail.com>
Tue, 22 Oct 2013 17:57:34 +0000 (10:57 -0700)
'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-gpio.c
drivers/leds/leds-lp5523.c
drivers/leds/leds-lp5562.c
drivers/leds/leds-lp8501.c
drivers/leds/leds-ns2.c

index e8b01e57348d675cae0821ddb9179b85d92a03f1..7ccafdeab9c10e61f76deb859fb2f194eb918d65 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 #include <linux/leds.h>
+#include <linux/of.h>
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
 #include <linux/slab.h>
index fe3bcbb5747f95a57965b7958f400b823dcbe3dd..6b553d9f4266d570eec78a2180eee9b56194d62c 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/leds.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <linux/of.h>
 #include <linux/platform_data/leds-lp55xx.h>
 #include <linux/slab.h>
 
index 2585cfd57711cba3feee4e664ef010402e2db841..bf006f4e44a05c971a429dfbf1ac984dc2f4076f 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/leds.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <linux/of.h>
 #include <linux/platform_data/leds-lp55xx.h>
 #include <linux/slab.h>
 
index 8d55a780ca4606e30ee2fd66ec3ec47417aea35d..f1c704f2243a132738d3104838027a4a65fbd307 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/leds.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
+#include <linux/of.h>
 #include <linux/platform_data/leds-lp55xx.h>
 #include <linux/slab.h>
 
index 141f13438e80ff3c9846c79948cc954466511719..c7a4230233ea991e660dabf6f55ceedff9c5c381 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/leds.h>
 #include <linux/module.h>
 #include <linux/platform_data/leds-kirkwood-ns2.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 
 /*