summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ns2.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-28 04:38:30 -0700
committerBryan Wu <cooloney@gmail.com>2013-10-22 10:57:34 -0700
commitc68f46dd6aec29b4db9eb85d014981bbdd686428 (patch)
tree3c3783d1a8e3266b4b2eeef3d53b7d50f9fefddf /drivers/leds/leds-ns2.c
parentb4f31ad6184fd5124abdb69b3b7ee5c18ac76db6 (diff)
downloadlinux-c68f46dd6aec29b4db9eb85d014981bbdd686428.tar.gz
linux-c68f46dd6aec29b4db9eb85d014981bbdd686428.tar.bz2
linux-c68f46dd6aec29b4db9eb85d014981bbdd686428.zip
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>
Diffstat (limited to 'drivers/leds/leds-ns2.c')
-rw-r--r--drivers/leds/leds-ns2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-ns2.c b/drivers/leds/leds-ns2.c
index 141f13438e80..c7a4230233ea 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>
/*