diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-15 19:51:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-15 19:51:54 -0400 |
commit | bc06cffdec85d487c77109dffcd2f285bdc502d3 (patch) | |
tree | adc6e6398243da87e66c56102840597a329183a0 /drivers/scsi/sni_53c710.c | |
parent | d3502d7f25b22cfc9762bf1781faa9db1bb3be2e (diff) | |
parent | 9413d7b8aa777dd1fc7db9563ce5e80d769fe7b5 (diff) |
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: (166 commits)
[SCSI] ibmvscsi: convert to use the data buffer accessors
[SCSI] dc395x: convert to use the data buffer accessors
[SCSI] ncr53c8xx: convert to use the data buffer accessors
[SCSI] sym53c8xx: convert to use the data buffer accessors
[SCSI] ppa: coding police and printk levels
[SCSI] aic7xxx_old: remove redundant GFP_ATOMIC from kmalloc
[SCSI] i2o: remove redundant GFP_ATOMIC from kmalloc from device.c
[SCSI] remove the dead CYBERSTORMIII_SCSI option
[SCSI] don't build scsi_dma_{map,unmap} for !HAS_DMA
[SCSI] Clean up scsi_add_lun a bit
[SCSI] 53c700: Remove printk, which triggers because of low scsi clock on SNI RMs
[SCSI] sni_53c710: Cleanup
[SCSI] qla4xxx: Fix underrun/overrun conditions
[SCSI] megaraid_mbox: use mutex instead of semaphore
[SCSI] aacraid: add 51245, 51645 and 52245 adapters to documentation.
[SCSI] qla2xxx: update version to 8.02.00-k1.
[SCSI] qla2xxx: add support for NPIV
[SCSI] stex: use resid for xfer len information
[SCSI] Add Brownie 1200U3P to blacklist
[SCSI] scsi.c: convert to use the data buffer accessors
...
Diffstat (limited to 'drivers/scsi/sni_53c710.c')
-rw-r--r-- | drivers/scsi/sni_53c710.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c index a7dfb65fb842..0a6b45b1b003 100644 --- a/drivers/scsi/sni_53c710.c +++ b/drivers/scsi/sni_53c710.c | |||
@@ -84,7 +84,7 @@ static int __init snirm710_probe(struct platform_device *dev) | |||
84 | 84 | ||
85 | hostdata->dev = &dev->dev; | 85 | hostdata->dev = &dev->dev; |
86 | dma_set_mask(&dev->dev, DMA_32BIT_MASK); | 86 | dma_set_mask(&dev->dev, DMA_32BIT_MASK); |
87 | hostdata->base = ioremap_nocache(CPHYSADDR(base), 0x100); | 87 | hostdata->base = ioremap_nocache(base, 0x100); |
88 | hostdata->differential = 0; | 88 | hostdata->differential = 0; |
89 | 89 | ||
90 | hostdata->clock = SNIRM710_CLOCK; | 90 | hostdata->clock = SNIRM710_CLOCK; |
@@ -141,13 +141,7 @@ static struct platform_driver snirm710_driver = { | |||
141 | 141 | ||
142 | static int __init snirm710_init(void) | 142 | static int __init snirm710_init(void) |
143 | { | 143 | { |
144 | int err; | 144 | return platform_driver_register(&snirm710_driver); |
145 | |||
146 | if ((err = platform_driver_register(&snirm710_driver))) { | ||
147 | printk(KERN_ERR "Driver registration failed\n"); | ||
148 | return err; | ||
149 | } | ||
150 | return 0; | ||
151 | } | 145 | } |
152 | 146 | ||
153 | static void __exit snirm710_exit(void) | 147 | static void __exit snirm710_exit(void) |