From b35bedf094b33ede048aabfc5f612596a4f98f32 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 12 Jul 2007 10:29:54 +0000 Subject: pci_module_init() is deprecated for a long time - this won't hurt .21 and will be needed for .22 SVN-Revision: 7937 --- target/linux/rdc-2.6/files/drivers/net/r6040.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/rdc-2.6/files/drivers/net/r6040.c') diff --git a/target/linux/rdc-2.6/files/drivers/net/r6040.c b/target/linux/rdc-2.6/files/drivers/net/r6040.c index 2398031..f495b4a 100644 --- a/target/linux/rdc-2.6/files/drivers/net/r6040.c +++ b/target/linux/rdc-2.6/files/drivers/net/r6040.c @@ -952,7 +952,7 @@ static int __init r6040_init (void) printk(version); printed_version = 1; - return pci_module_init (&r6040_driver); + return pci_register_driver (&r6040_driver); } -- cgit v1.1