diff options
Diffstat (limited to 'drivers/firmware/efivars.c')
-rw-r--r-- | drivers/firmware/efivars.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index bfd2d67df689..858a7b95933b 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c | |||
@@ -402,7 +402,7 @@ static struct attribute *def_attrs[] = { | |||
402 | NULL, | 402 | NULL, |
403 | }; | 403 | }; |
404 | 404 | ||
405 | static struct kobj_type ktype_efivar = { | 405 | static struct kobj_type efivar_ktype = { |
406 | .release = efivar_release, | 406 | .release = efivar_release, |
407 | .sysfs_ops = &efivar_attr_ops, | 407 | .sysfs_ops = &efivar_attr_ops, |
408 | .default_attrs = def_attrs, | 408 | .default_attrs = def_attrs, |
@@ -583,7 +583,7 @@ static struct subsys_attribute *efi_subsys_attrs[] = { | |||
583 | NULL, /* maybe more in the future? */ | 583 | NULL, /* maybe more in the future? */ |
584 | }; | 584 | }; |
585 | 585 | ||
586 | static decl_subsys(vars, &ktype_efivar, NULL); | 586 | static decl_subsys(vars, &efivar_ktype, NULL); |
587 | static decl_subsys(efi, NULL, NULL); | 587 | static decl_subsys(efi, NULL, NULL); |
588 | 588 | ||
589 | /* | 589 | /* |