summaryrefslogtreecommitdiff
path: root/drivers/hwmon/gpio-fan.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-16 22:28:34 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-16 22:28:34 -0500
commit9526d9bc23f362035cfabf044aa90f4ed1787955 (patch)
tree3c24639de58cfaebc9f2616750dedfdad4251c35 /drivers/hwmon/gpio-fan.c
parentd042f3135e5e3a0132942335dea0155ae86a7308 (diff)
parent6929039761a3414e5c71448eb3dcc1d82fc1891d (diff)
Merge branch 'arch-arm64' into no-rebases
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 36509ae32083..1381a2e3bbd4 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
},
};