[lkml]   [2005]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 6/11] i386: replace all uses of pci_module_init with pci_register_driver
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 <>


arch/i386/kernel/scx200.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

applies-to: 43d6f837c1b309ac228b08c4aa5cc6373646c699
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)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-12-03 17:03    [W:0.086 / U:0.368 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site