]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Kobject: change drivers/block/pktcdvd.c to use kobject_init_and_add
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Dec 2007 19:54:39 +0000 (15:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:29 +0000 (20:40 -0800)
commit89c426066462263c90957c37af29765855516b83
tree97a444a887a8f042b5ca4dec08d953d869f77504
parenta77aa28a2db3d134dd387f0f05cd6b6717fb1d28
Kobject: change drivers/block/pktcdvd.c 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: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/pktcdvd.c