diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_menlow.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c index 1190bad4297f..2f795ce2b939 100644 --- a/drivers/platform/x86/intel_menlow.c +++ b/drivers/platform/x86/intel_menlow.c | |||
@@ -397,6 +397,7 @@ static int intel_menlow_add_one_attribute(char *name, int mode, void *show, | |||
397 | if (!attr) | 397 | if (!attr) |
398 | return -ENOMEM; | 398 | return -ENOMEM; |
399 | 399 | ||
400 | sysfs_attr_init(&attr->attr.attr); /* That is consistent naming :D */ | ||
400 | attr->attr.attr.name = name; | 401 | attr->attr.attr.name = name; |
401 | attr->attr.attr.mode = mode; | 402 | attr->attr.attr.mode = mode; |
402 | attr->attr.show = show; | 403 | attr->attr.show = show; |