summaryrefslogtreecommitdiff
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-11-14 08:49:49 +0100
committerIngo Molnar <mingo@kernel.org>2012-11-14 08:49:49 +0100
commita7a0aaa17ace589897021d668e09d474e7fc4c4d (patch)
tree41de5bb6fb7135d950ef8b344e1e02d1208449c8 /drivers/hwmon/gpio-fan.c
parent38ca9c927c7d3db61f57e3d3a9334958c3af6e9a (diff)
parent77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff)
downloadolio-linux-3.10-a7a0aaa17ace589897021d668e09d474e7fc4c4d.tar.xz
olio-linux-3.10-a7a0aaa17ace589897021d668e09d474e7fc4c4d.zip
Merge tag 'v3.7-rc5' into sched/core
Merge Linux 3.7-rc5, to pick up fixes. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/hwmon/gpio-fan.c')
-rw-r--r--drivers/hwmon/gpio-fan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/gpio-fan.c b/drivers/hwmon/gpio-fan.c
index 36509ae3208..1381a2e3bbd 100644
--- a/drivers/hwmon/gpio-fan.c
+++ b/drivers/hwmon/gpio-fan.c
@@ -630,7 +630,9 @@ static struct platform_driver gpio_fan_driver = {
.driver = {
.name = "gpio-fan",
.pm = GPIO_FAN_PM,
+#ifdef CONFIG_OF_GPIO
.of_match_table = of_match_ptr(of_gpio_fan_match),
+#endif
},
};