diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-28 13:38:30 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 19:57:34 +0200 |
commit | c68f46dd6aec29b4db9eb85d014981bbdd686428 (patch) | |
tree | 3c3783d1a8e3266b4b2eeef3d53b7d50f9fefddf /drivers/leds/leds-gpio.c | |
parent | leds: dac124s085: Remove redundant spi_set_drvdata (diff) | |
download | linux-c68f46dd6aec29b4db9eb85d014981bbdd686428.tar.xz 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-gpio.c')
-rw-r--r-- | drivers/leds/leds-gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c index e8b01e57348d..7ccafdeab9c1 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> |