2014-07-25 12:29 GMT+08:00 Guenter Roeck <linux@xxxxxxxxxxxx>: > On 07/24/2014 08:14 PM, Axel Lin wrote: >> >> Use of_match_ptr and proper #ifdef CONFIG_OF guard for of_device_id table. >> Also makes of_pwm_fan_match const. >> >> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx> > > > The driver won't instantiate if OF is not configured. You are right. Then how about adding OF dependency to config SENSORS_PWM_FAN? Thanks, Axel _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors