diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-17 14:54:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:26 -0500 |
commit | 35be0681983752116a8161ad3b30e830963108a4 (patch) | |
tree | 6eb3fe7dcc4ec690d8062912eb4b1e3ce17ad5b5 /include/rdma | |
parent | 901195ed7f4b2f30dc5a36271887939c5d7bfb9f (diff) |
Kobject: change drivers/infiniband to use kobject_init_and_add
Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <mshefty@ichips.intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 11f39606e7d9..cfbd38fe2998 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -1026,7 +1026,7 @@ struct ib_device { | |||
1026 | 1026 | ||
1027 | struct module *owner; | 1027 | struct module *owner; |
1028 | struct class_device class_dev; | 1028 | struct class_device class_dev; |
1029 | struct kobject ports_parent; | 1029 | struct kobject *ports_parent; |
1030 | struct list_head port_list; | 1030 | struct list_head port_list; |
1031 | 1031 | ||
1032 | enum { | 1032 | enum { |