aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-11-02 19:19:59 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 23:40:24 -0500
commit5c03c7ab886859eb195440dbb6ccb8c30c4e84cc (patch)
tree16274460957bd2c6c80bb5708ba344bea20d4315 /include/linux/kobject.h
parent830d3cfb16728e2496edc2985ad8f68025135e37 (diff)
kset: remove decl_subsys macro
This macro is no longer used. ksets should be created dynamically with a call to kset_create_and_add() not declared statically. Yes, there are 5 remaining static struct kset usages in the kernel tree, but they will be fixed up soon. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 673623f18464..9da3523e4a65 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -198,12 +198,6 @@ extern struct kobject * kset_find_obj(struct kset *, const char *);
198#define set_kset_name(str) .kset = { .kobj = { .k_name = str } } 198#define set_kset_name(str) .kset = { .kobj = { .k_name = str } }
199 199
200 200
201#define decl_subsys(_name,_uevent_ops) \
202struct kset _name##_subsys = { \
203 .kobj = { .k_name = __stringify(_name) }, \
204 .uevent_ops =_uevent_ops, \
205}
206
207/* The global /sys/kernel/ kset for people to chain off of */ 201/* The global /sys/kernel/ kset for people to chain off of */
208extern struct kset *kernel_kset; 202extern struct kset *kernel_kset;
209/* The global /sys/hypervisor/ kobject for people to chain off of */ 203/* The global /sys/hypervisor/ kobject for people to chain off of */