mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 20:16:39 +07:00
net/wan/pc300too.c: pci_module_init to pci_register_driver
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
9cc6d14e90
commit
11cc3bb522
@ -542,7 +542,7 @@ static int __init pc300_init_module(void)
|
||||
|
||||
CLOCK_BASE = use_crystal_clock ? 24576000 : pci_clock_freq;
|
||||
|
||||
return pci_module_init(&pc300_pci_driver);
|
||||
return pci_register_driver(&pc300_pci_driver);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user