diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-11 10:47:49 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:51:12 -0700 |
commit | a1148fb03f3c5d0bb5e6641234c2251a15741361 (patch) | |
tree | 49c33bc0628230202a2599f12088e55bd117479f | |
parent | 8f4afc410b8d2be49f34835b6bbe788f50471b02 (diff) | |
download | linux-a1148fb03f3c5d0bb5e6641234c2251a15741361.tar.gz linux-a1148fb03f3c5d0bb5e6641234c2251a15741361.tar.bz2 linux-a1148fb03f3c5d0bb5e6641234c2251a15741361.zip |
Driver core: rename ktype_driver
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/base/bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 6768a01e210b..9a19b071c573 100644 --- a/drivers/base/bus.c +++ b/drivers/base/bus.c @@ -89,7 +89,7 @@ static void driver_release(struct kobject * kobj) */ } -static struct kobj_type ktype_driver = { +static struct kobj_type driver_ktype = { .sysfs_ops = &driver_sysfs_ops, .release = driver_release, }; @@ -868,7 +868,7 @@ int bus_register(struct bus_type * bus) kobject_set_name(&bus->drivers.kobj, "drivers"); bus->drivers.kobj.parent = &bus->subsys.kobj; - bus->drivers.ktype = &ktype_driver; + bus->drivers.ktype = &driver_ktype; retval = kset_register(&bus->drivers); if (retval) goto bus_drivers_fail; |