lkml.org 
[lkml]   [2010]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: sysfs lockdep complaint
    From
    Date
    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2010-02-20 16:09    [W:0.022 / U:209.932 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site