diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-28 11:38:30 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 17:57:34 (GMT) |
commit | c68f46dd6aec29b4db9eb85d014981bbdd686428 (patch) | |
tree | 3c3783d1a8e3266b4b2eeef3d53b7d50f9fefddf | |
parent | b4f31ad6184fd5124abdb69b3b7ee5c18ac76db6 (diff) | |
download | linux-fsl-qoriq-c68f46dd6aec29b4db9eb85d014981bbdd686428.tar.xz |
leds: Include linux/of.h header
'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>
-rw-r--r-- | drivers/leds/leds-gpio.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-lp5523.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-lp5562.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-lp8501.c | 1 | ||||
-rw-r--r-- | drivers/leds/leds-ns2.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index e8b01e5..7ccafde 100644 --- a/drivers/leds/leds-gpio.c +++ b/drivers/leds/leds-gpio.c @@ -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> diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c index fe3bcbb..6b553d9 100644 --- a/drivers/leds/leds-lp5523.c +++ b/drivers/leds/leds-lp5523.c @@ -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> diff --git a/drivers/leds/leds-lp5562.c b/drivers/leds/leds-lp5562.c index 2585cfd..bf006f4 100644 --- a/drivers/leds/leds-lp5562.c +++ b/drivers/leds/leds-lp5562.c @@ -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> diff --git a/drivers/leds/leds-lp8501.c b/drivers/leds/leds-lp8501.c index 8d55a780..f1c704f 100644 --- a/drivers/leds/leds-lp8501.c +++ b/drivers/leds/leds-lp8501.c @@ -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> diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c index 141f134..c7a4230 100644 --- a/drivers/leds/leds-ns2.c +++ b/drivers/leds/leds-ns2.c @@ -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> /* |