Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/scsi/tmscsim.c
··· 2680 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 2686 2686 static void __exit dc390_module_exit(void)