• Mike Anderson's avatar
    [PATCH] scsi_host sysfs updates scsi-misc-2.5 [2/2] · d69e478f
    Mike Anderson authored
    Here is an update of the patch with the externs in scsi_priv.h
    
    -andmike
    --
    Michael Anderson
    andmike@us.ibm.com
    
    DESC
    scsi shost sysfs cleanups for scsi-misc-2.5
    - Add LLDD short name to scsi_host struct device.
    - scsi_host_release now calls scsi_free_shost.
    - Switched from device_register / device_unregister and class_register
    / class_register to initialize, add, del, put pairs.
    - Moved some function from scsi_register and scsi_unregister.
    - Filled in scsi_host_put and scsi_host_get.
    
    Rev 2 move externs to scsi_priv.h
    EDESC
    
    
     drivers/scsi/hosts.c      |   33 ++++++++++++++++++++++++++++-----
     drivers/scsi/scsi_priv.h  |    2 ++
     drivers/scsi/scsi_sysfs.c |   19 +++++++++++--------
     3 files changed, 41 insertions(+), 13 deletions(-)
    d69e478f
scsi_sysfs.c 9.04 KB