OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2825f03
)
hwmon: (gpio-fan) Include linux/of.h header
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 27 Sep 2013 11:26:00 +0000
(16:56 +0530)
committer
Guenter Roeck
<linux@roeck-us.net>
Fri, 18 Oct 2013 16:12:02 +0000
(09:12 -0700)
'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>
drivers/hwmon/gpio-fan.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/gpio-fan.c
b/drivers/hwmon/gpio-fan.c
index
d5148c8
..
73181be
100644
(file)
--- 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>