Commit c68f46dd6aec29b4db9eb85d014981bbdd686428

Authored by Sachin Kamat
Committed by Bryan Wu
1 parent b4f31ad618

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>

Showing 5 changed files with 5 additions and 0 deletions Side-by-side Diff

drivers/leds/leds-gpio.c
... ... @@ -15,6 +15,7 @@
15 15 #include <linux/platform_device.h>
16 16 #include <linux/gpio.h>
17 17 #include <linux/leds.h>
  18 +#include <linux/of.h>
18 19 #include <linux/of_platform.h>
19 20 #include <linux/of_gpio.h>
20 21 #include <linux/slab.h>
drivers/leds/leds-lp5523.c
... ... @@ -29,6 +29,7 @@
29 29 #include <linux/leds.h>
30 30 #include <linux/module.h>
31 31 #include <linux/mutex.h>
  32 +#include <linux/of.h>
32 33 #include <linux/platform_data/leds-lp55xx.h>
33 34 #include <linux/slab.h>
34 35  
drivers/leds/leds-lp5562.c
... ... @@ -17,6 +17,7 @@
17 17 #include <linux/leds.h>
18 18 #include <linux/module.h>
19 19 #include <linux/mutex.h>
  20 +#include <linux/of.h>
20 21 #include <linux/platform_data/leds-lp55xx.h>
21 22 #include <linux/slab.h>
22 23  
drivers/leds/leds-lp8501.c
... ... @@ -18,6 +18,7 @@
18 18 #include <linux/leds.h>
19 19 #include <linux/module.h>
20 20 #include <linux/mutex.h>
  21 +#include <linux/of.h>
21 22 #include <linux/platform_data/leds-lp55xx.h>
22 23 #include <linux/slab.h>
23 24  
drivers/leds/leds-ns2.c
... ... @@ -30,6 +30,7 @@
30 30 #include <linux/leds.h>
31 31 #include <linux/module.h>
32 32 #include <linux/platform_data/leds-kirkwood-ns2.h>
  33 +#include <linux/of.h>
33 34 #include <linux/of_gpio.h>
34 35  
35 36 /*