Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (60 commits) [SCSI] libsas: make ATA functions selectable by a config option [SCSI] bsg: unexport sg v3 helper functions [SCSI] bsg: fix bsg_unregister_queue [SCSI] bsg: make class backlinks [SCSI] 3w-9xxx: add support for 9690SA [SCSI] bsg: fix bsg_register_queue error path [SCSI] ESP: Increase ESP_BUS_TIMEOUT to 275. [SCSI] libsas: fix scr_read/write users and update the libata documentation [SCSI] mpt fusion: update Kconfig help [SCSI] scsi_transport_sas: add destructor for bsg [SCSI] iscsi_tcp: buggered kmalloc() [SCSI] qla2xxx: Update version number to 8.02.00-k2. [SCSI] qla2xxx: Add ISP25XX support. [SCSI] qla2xxx: Use pci_try_set_mwi(). [SCSI] qla2xxx: Use PCI-X/PCI-Express read control interfaces. [SCSI] qla2xxx: Re-factor isp_operations to static structures. [SCSI] qla2xxx: Validate mid-layer 'underflow' during check-condition handling. [SCSI] qla2xxx: Correct setting of 'current' and 'supported' speeds during FDMI registration. [SCSI] qla2xxx: Generalize iIDMA support. [SCSI] qla2xxx: Generalize FW-Interface-2 support. ...
This commit is contained in:
@ -138,6 +138,7 @@ sim710_probe_common(struct device *dev, unsigned long base_addr,
|
||||
goto out_put_host;
|
||||
}
|
||||
|
||||
dev_set_drvdata(dev, host);
|
||||
scsi_scan_host(host);
|
||||
|
||||
return 0;
|
||||
@ -155,7 +156,7 @@ sim710_probe_common(struct device *dev, unsigned long base_addr,
|
||||
static __devexit int
|
||||
sim710_device_remove(struct device *dev)
|
||||
{
|
||||
struct Scsi_Host *host = dev_to_shost(dev);
|
||||
struct Scsi_Host *host = dev_get_drvdata(dev);
|
||||
struct NCR_700_Host_Parameters *hostdata =
|
||||
(struct NCR_700_Host_Parameters *)host->hostdata[0];
|
||||
|
||||
|
Reference in New Issue
Block a user