Messages in this thread | | | Subject | Re: sysfs lockdep complaint | From | Johannes Berg <> | Date | Sat, 20 Feb 2010 16:08:16 +0100 |
| |
On Sat, 2010-02-20 at 23:03 +0800, Américo Wang wrote:
> fct->fan_type = pwm_fan; > fct->ctrl.type = pwm_fan ? WF_CONTROL_PWM_FAN : WF_CONTROL_RPM_FAN; > + sysfs_attr_init(&fct->ctrl.attr);
ah, needs to be "ctrl.attr.attr".
johannes
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |