summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-27 15:26:00 +0400
committerGuenter Roeck <linux@roeck-us.net>2013-10-18 20:12:02 +0400
commitc50588ababd85e164a97f114d79af267a6aef42a (patch)
tree5066d2f9273c70ab70b620e35a181adc1c48e085 /drivers/hwmon
parent2825f033da13bc932aa470533da0f8cfb9a6e40d (diff)
downloadlinux-c50588ababd85e164a97f114d79af267a6aef42a.tar.xz
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')
-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>