From: Linus Torvalds Date: Sat, 5 May 2007 21:23:40 +0000 (-0700) Subject: Fix compile of tmscsim SCSI driver X-Git-Tag: v3.12-rc1~30560 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=886a0768affe9a32f18c45f8e1393bca9ece5392;p=kernel%2Fkernel-generic.git 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 --- diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c index a583e89..3158949 100644 --- a/drivers/scsi/tmscsim.c +++ b/drivers/scsi/tmscsim.c @@ -2680,7 +2680,7 @@ static int __init dc390_module_init(void) printk (KERN_INFO "DC390: Using safe settings.\n"); } - return pci_module_init(&dc390_driver); + return pci_register_driver(&dc390_driver); } static void __exit dc390_module_exit(void)