diff options
Diffstat (limited to 'drivers/scsi/sim710.c')
-rw-r--r-- | drivers/scsi/sim710.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/sim710.c b/drivers/scsi/sim710.c index d63d229e2323..6dc8b846c112 100644 --- a/drivers/scsi/sim710.c +++ b/drivers/scsi/sim710.c | |||
@@ -102,7 +102,7 @@ sim710_probe_common(struct device *dev, unsigned long base_addr, | |||
102 | struct NCR_700_Host_Parameters *hostdata = | 102 | struct NCR_700_Host_Parameters *hostdata = |
103 | kzalloc(sizeof(struct NCR_700_Host_Parameters), GFP_KERNEL); | 103 | kzalloc(sizeof(struct NCR_700_Host_Parameters), GFP_KERNEL); |
104 | 104 | ||
105 | printk(KERN_NOTICE "sim710: %s\n", dev->bus_id); | 105 | printk(KERN_NOTICE "sim710: %s\n", dev_name(dev)); |
106 | printk(KERN_NOTICE "sim710: irq = %d, clock = %d, base = 0x%lx, scsi_id = %d\n", | 106 | printk(KERN_NOTICE "sim710: irq = %d, clock = %d, base = 0x%lx, scsi_id = %d\n", |
107 | irq, clock, base_addr, scsi_id); | 107 | irq, clock, base_addr, scsi_id); |
108 | 108 | ||
@@ -305,7 +305,7 @@ sim710_eisa_probe(struct device *dev) | |||
305 | scsi_id = ffs(val) - 1; | 305 | scsi_id = ffs(val) - 1; |
306 | 306 | ||
307 | if(scsi_id > 7 || (val & ~(1<<scsi_id)) != 0) { | 307 | if(scsi_id > 7 || (val & ~(1<<scsi_id)) != 0) { |
308 | printk(KERN_ERR "sim710.c, EISA card %s has incorrect scsi_id, setting to 7\n", dev->bus_id); | 308 | printk(KERN_ERR "sim710.c, EISA card %s has incorrect scsi_id, setting to 7\n", dev_name(dev)); |
309 | scsi_id = 7; | 309 | scsi_id = 7; |
310 | } | 310 | } |
311 | } else { | 311 | } else { |