Re: sysfs lockdep complaint
From: Johannes Berg
Date: Sat Feb 20 2010 - 10:07:29 EST
On Sat, 2010-02-20 at 23:03 +0800, AmÃrico Wang wrote:
> --- a/drivers/macintosh/windfarm_smu_controls.c
> +++ b/drivers/macintosh/windfarm_smu_controls.c
> @@ -173,6 +173,7 @@ static struct smu_fan_control
> *smu_fan_create(struct device_node *node,
>
> fct->fan_type = pwm_fan;
> fct->ctrl.type = pwm_fan ? WF_CONTROL_PWM_FAN : WF_CONTROL_RPM_FAN;
> + sysfs_attr_init(&fct->ctrl.attr);
hmm.
drivers/macintosh/windfarm_smu_controls.c: In function âsmu_fan_createâ:
drivers/macintosh/windfarm_smu_controls.c:176: error: âstruct device_attributeâ has no member named âkeyâ
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/