aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_discover.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-26 09:28:37 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-26 09:42:43 -0400
commit1d1bbee61e4ecdaad450e9bf4d9983876ed53a43 (patch)
treefd371a0e515fbadb3d0d01ca409718aa6fca15a9 /drivers/scsi/libsas/sas_discover.c
parentfd3adb2ae8e16a02dfd5ed68f50fcf76fcdaff0b (diff)
[SCSI] libsas: Remove PCI dependencies
Eliminate unnecessary PCI dependencies in libsas. It should use generic DMA and struct device like other subsystems. Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_discover.c')
-rw-r--r--drivers/scsi/libsas/sas_discover.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index 6ac9f61d006a..7ef0afc3cd68 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -22,7 +22,6 @@
22 * 22 *
23 */ 23 */
24 24
25#include <linux/pci.h>
26#include <linux/scatterlist.h> 25#include <linux/scatterlist.h>
27#include <scsi/scsi_host.h> 26#include <scsi/scsi_host.h>
28#include <scsi/scsi_eh.h> 27#include <scsi/scsi_eh.h>
@@ -170,7 +169,7 @@ int sas_notify_lldd_dev_found(struct domain_device *dev)
170 if (res) { 169 if (res) {
171 printk("sas: driver on pcidev %s cannot handle " 170 printk("sas: driver on pcidev %s cannot handle "
172 "device %llx, error:%d\n", 171 "device %llx, error:%d\n",
173 pci_name(sas_ha->pcidev), 172 sas_ha->dev->bus_id,
174 SAS_ADDR(dev->sas_addr), res); 173 SAS_ADDR(dev->sas_addr), res);
175 } 174 }
176 } 175 }