diff options
author | Denis Cheng <crquan@gmail.com> | 2007-12-05 19:24:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 05:40:41 +0100 |
commit | db1118a460c7bfd20278955cbf56c0b283a9701f (patch) | |
tree | 80b3f5f86b73bd30b32d3df711dd2345bbadcdfa /drivers/base/base.h | |
parent | kobject: add sample code for how to use ksets/ktypes/kobjects (diff) | |
download | linux-db1118a460c7bfd20278955cbf56c0b283a9701f.tar.xz linux-db1118a460c7bfd20278955cbf56c0b283a9701f.zip |
Driver core: use LIST_HEAD instead of call to INIT_LIST_HEAD in __init
LIST_HEAD has been widely used, so switch to this simpler method.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/base.h')
-rw-r--r-- | drivers/base/base.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/base.h b/drivers/base/base.h index 3b0f395552db..a74ceda34e19 100644 --- a/drivers/base/base.h +++ b/drivers/base/base.h @@ -49,7 +49,6 @@ static inline int hypervisor_init(void) { return 0; } extern int platform_bus_init(void); extern int system_bus_init(void); extern int cpu_dev_init(void); -extern int attribute_container_init(void); extern int bus_add_device(struct device * dev); extern void bus_attach_device(struct device * dev); |