Name

scsi_add_host — add a scsi host

Synopsis

int scsi_add_host (struct Scsi_Host *  shost,
 struct device *  dev);

Arguments

shost

scsi host pointer to add

dev

a struct device of type scsi class

Return value

0 on success / != 0 for error