• Ben Collins's avatar
    ieee1394: Consolidate driver registering · ed30c26e
    Ben Collins authored
    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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    ed30c26e
ieee1394_core.c 33.6 KB