diff options
| -rw-r--r-- | drivers/hwmon/gpio-fan.c | 2 |
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 = { | |||
| 630 | .driver = { | 630 | .driver = { |
| 631 | .name = "gpio-fan", | 631 | .name = "gpio-fan", |
| 632 | .pm = GPIO_FAN_PM, | 632 | .pm = GPIO_FAN_PM, |
| 633 | #ifdef CONFIG_OF_GPIO | ||
| 633 | .of_match_table = of_match_ptr(of_gpio_fan_match), | 634 | .of_match_table = of_match_ptr(of_gpio_fan_match), |
| 635 | #endif | ||
| 634 | }, | 636 | }, |
| 635 | }; | 637 | }; |
| 636 | 638 | ||
