aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-05 17:23:40 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-05 17:23:40 -0400
commit886a0768affe9a32f18c45f8e1393bca9ece5392 (patch)
tree0e0b07e24e30b8ff7db668034c1d9596764bd7d1 /drivers
parent989485c190cc6a64e5a21d98ef2d752df1db8c27 (diff)
Fix compile of tmscsim SCSI driver
It still used the long-deprecated "pci_module_init()" interface, rather than the proper "pci_register_driver()" one. [ I don't have the hardware, and I doubt many do, but the fix is trivial and obvious, and can't be worse than not compiling ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/tmscsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c
index a583e89238fc..3158949ffa62 100644
--- a/drivers/scsi/tmscsim.c
+++ b/drivers/scsi/tmscsim.c
@@ -2680,7 +2680,7 @@ static int __init dc390_module_init(void)
2680 printk (KERN_INFO "DC390: Using safe settings.\n"); 2680 printk (KERN_INFO "DC390: Using safe settings.\n");
2681 } 2681 }
2682 2682
2683 return pci_module_init(&dc390_driver); 2683 return pci_register_driver(&dc390_driver);
2684} 2684}
2685 2685
2686static void __exit dc390_module_exit(void) 2686static void __exit dc390_module_exit(void)