mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
989485c190
commit
886a0768af
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue