summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-11-07 17:59:14 -0600
committerRob Herring <rob.herring@calxeda.com>2012-11-07 17:59:14 -0600
commitd3ad4a60a1b1448e59914eebefe1ccc8e64f9e2f (patch)
treef0862d1905a599cdbad86fcc8816d86a6f33459f /drivers/hwmon/gpio-fan.c
parente095c0d122c09efabe7d4136ce77f72c636c4879 (diff)
parente5c5f2adeb370559f4b221d57214db85858b786a (diff)
Merge remote-tracking branch 'arm-soc/devel/debug_ll_init' into debug_ll
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
},
};