summaryrefslogtreecommitdiff
path: root/target/linux/rdc-2.6/files/drivers/net/r6040.c
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-07-12 10:29:54 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-07-12 10:29:54 +0000
commitb35bedf094b33ede048aabfc5f612596a4f98f32 (patch)
tree250d46e5c89a0d86f11228222a9f82a858ccbba0 /target/linux/rdc-2.6/files/drivers/net/r6040.c
parentd2c338cd52bbb07983680fc4369529c7b396617c (diff)
downloadmtk-20170518-b35bedf094b33ede048aabfc5f612596a4f98f32.zip
mtk-20170518-b35bedf094b33ede048aabfc5f612596a4f98f32.tar.gz
mtk-20170518-b35bedf094b33ede048aabfc5f612596a4f98f32.tar.bz2
pci_module_init() is deprecated for a long time - this won't hurt .21 and will be needed for .22
SVN-Revision: 7937
Diffstat (limited to 'target/linux/rdc-2.6/files/drivers/net/r6040.c')
-rw-r--r--target/linux/rdc-2.6/files/drivers/net/r6040.c2
1 files changed, 1 insertions, 1 deletions
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);
}