From: Richard Knutsson Date: Wed, 14 Feb 2007 00:40:21 +0000 (+0100) Subject: net/wan/pc300too.c: pci_module_init to pci_register_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11cc3bb522ddb3962fb7134ffc5e27c487746193;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net/wan/pc300too.c: pci_module_init to pci_register_driver Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c index bc156b51678a..aff05dba720a 100644 --- a/drivers/net/wan/pc300too.c +++ b/drivers/net/wan/pc300too.c @@ -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); }