Messages in this thread Patch in this message | | | Subject | [PATCH 6/11] i386: replace all uses of pci_module_init with pci_register_driver | Date | Sat, 3 Dec 2005 13:57:10 -0200 | From | Otavio Salvador <> |
| |
This patch replace all calls to pci_module_init, that's deprecated and will be removed in future, with pci_register_driver that should be the used function now.
Signed-off-by: Otavio Salvador <otavio@debian.org>
---
arch/i386/kernel/scx200.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
applies-to: 43d6f837c1b309ac228b08c4aa5cc6373646c699 d17794f0f6eca4998e47b9488964bb197e7d693f diff --git a/arch/i386/kernel/scx200.c b/arch/i386/kernel/scx200.c index 9c968ae..321f5fd 100644 --- a/arch/i386/kernel/scx200.c +++ b/arch/i386/kernel/scx200.c @@ -143,7 +143,7 @@ static int __init scx200_init(void) { printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n"); - return pci_module_init(&scx200_pci_driver); + return pci_register_driver(&scx200_pci_driver); } static void __exit scx200_cleanup(void) --- 0.99.9k
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |