summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 16:56:00 +0530
committerGuenter Roeck <linux@roeck-us.net>2013-10-18 09:12:02 -0700
commitc50588ababd85e164a97f114d79af267a6aef42a (patch)
tree5066d2f9273c70ab70b620e35a181adc1c48e085 /drivers/hwmon/gpio-fan.c
parent2825f033da13bc932aa470533da0f8cfb9a6e40d (diff)
downloadlinux-c50588ababd85e164a97f114d79af267a6aef42a.tar.bz2
hwmon: (gpio-fan) 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: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
-rw-r--r--drivers/hwmon/gpio-fan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c
index d5148c85ec5f..73181be5b30b 100644
--- a/drivers/hwmon/gpio-fan.c
+++ b/drivers/hwmon/gpio-fan.c
@@ -31,6 +31,7 @@
#include <linux/hwmon.h>
#include <linux/gpio.h>
#include <linux/gpio-fan.h>
+#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/of_gpio.h>