summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efivars.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-10-11 10:47:49 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:51:12 -0700
commite89a4116ef345cf10c21f722dd1d8bfa9b7c7d58 (patch)
treebdfc4af33ab4a24e410a5428f7c1b4ccc67409c8 /drivers/firmware/efivars.c
parenta1148fb03f3c5d0bb5e6641234c2251a15741361 (diff)
downloadkernel-crypto-e89a4116ef345cf10c21f722dd1d8bfa9b7c7d58.tar.gz
kernel-crypto-e89a4116ef345cf10c21f722dd1d8bfa9b7c7d58.tar.xz
kernel-crypto-e89a4116ef345cf10c21f722dd1d8bfa9b7c7d58.zip
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>
Diffstat (limited to 'drivers/firmware/efivars.c')
-rw-r--r--drivers/firmware/efivars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index bfd2d67df68..858a7b95933 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -402,7 +402,7 @@ static struct attribute *def_attrs[] = {
NULL,
};
-static struct kobj_type ktype_efivar = {
+static struct kobj_type efivar_ktype = {
.release = efivar_release,
.sysfs_ops = &efivar_attr_ops,
.default_attrs = def_attrs,
@@ -583,7 +583,7 @@ static struct subsys_attribute *efi_subsys_attrs[] = {
NULL, /* maybe more in the future? */
};
-static decl_subsys(vars, &ktype_efivar, NULL);
+static decl_subsys(vars, &efivar_ktype, NULL);
static decl_subsys(efi, NULL, NULL);
/*