diff options
Diffstat (limited to 'drivers/macintosh')
-rw-r--r-- | drivers/macintosh/windfarm_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/macintosh/windfarm_core.c b/drivers/macintosh/windfarm_core.c index c092354591bb..ce8897933a84 100644 --- a/drivers/macintosh/windfarm_core.c +++ b/drivers/macintosh/windfarm_core.c | |||
@@ -210,6 +210,7 @@ int wf_register_control(struct wf_control *new_ct) | |||
210 | kref_init(&new_ct->ref); | 210 | kref_init(&new_ct->ref); |
211 | list_add(&new_ct->link, &wf_controls); | 211 | list_add(&new_ct->link, &wf_controls); |
212 | 212 | ||
213 | sysfs_attr_init(&new_ct->attr.attr); | ||
213 | new_ct->attr.attr.name = new_ct->name; | 214 | new_ct->attr.attr.name = new_ct->name; |
214 | new_ct->attr.attr.mode = 0644; | 215 | new_ct->attr.attr.mode = 0644; |
215 | new_ct->attr.show = wf_show_control; | 216 | new_ct->attr.show = wf_show_control; |