]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: Consolidate driver registering
authorBen Collins <ben.collins@ubuntu.com>
Thu, 23 Nov 2006 18:59:48 +0000 (13:59 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 22:11:55 +0000 (23:11 +0100)
commited30c26ee809b060f437fd9f1b3453e1d0375e32
tree00daeacae861f1a544ed346d5ce4f26700f8f6ba
parent9b7d9c096dd4e4baacc21b2588662bbb56f36c4e
ieee1394: Consolidate driver registering

This patch consolidates some bookkeeping for driver registering. It
closely models what pci_register_driver() does. The main addition is
that the owner of the driver is set, so we get a proper symlink
for /sys/bus/ieee1394/driver/*/module.

Also moves setting of name and bus type into nodemgr. Because of this,
we can remove the EXPORT_SYMBOL for ieee1394_bus_type, since it's now
only used in ieee1394.ko.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/dv1394.c
drivers/ieee1394/eth1394.c
drivers/ieee1394/ieee1394_core.c
drivers/ieee1394/nodemgr.c
drivers/ieee1394/nodemgr.h
drivers/ieee1394/raw1394.c
drivers/ieee1394/sbp2.c
drivers/ieee1394/video1394.c