diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-11 12:47:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:51:12 -0400 |
commit | e89a4116ef345cf10c21f722dd1d8bfa9b7c7d58 (patch) | |
tree | bdfc4af33ab4a24e410a5428f7c1b4ccc67409c8 | |
parent | a1148fb03f3c5d0bb5e6641234c2251a15741361 (diff) |
Driver core: rename ktype_edd and ktype_efivar
This makes it a bit more sane when trying to figure out how to clean up
the ktype mess.
Based on a larger patch from Kay Sievers
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/firmware/edd.c | 4 | ||||
-rw-r--r-- | drivers/firmware/efivars.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c index 0fb730ee1da8..6942e065e609 100644 --- a/drivers/firmware/edd.c +++ b/drivers/firmware/edd.c | |||
@@ -625,13 +625,13 @@ static void edd_release(struct kobject * kobj) | |||
625 | kfree(dev); | 625 | kfree(dev); |
626 | } | 626 | } |
627 | 627 | ||
628 | static struct kobj_type ktype_edd = { | 628 | static struct kobj_type edd_ktype = { |
629 | .release = edd_release, | 629 | .release = edd_release, |
630 | .sysfs_ops = &edd_attr_ops, | 630 | .sysfs_ops = &edd_attr_ops, |
631 | .default_attrs = def_attrs, | 631 | .default_attrs = def_attrs, |
632 | }; | 632 | }; |
633 | 633 | ||
634 | static decl_subsys(edd,&ktype_edd,NULL); | 634 | static decl_subsys(edd, &edd_ktype, NULL); |
635 | 635 | ||
636 | 636 | ||
637 | /** | 637 | /** |
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 | /* |