summaryrefslogtreecommitdiff
path: root/target/linux/rdc-2.6/files/drivers/net/r6040.c
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-12 10:29:54 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-12 10:29:54 +0000
commit8eb85e1628864e1ab4e77207738502466cc9d5d2 (patch)
treeb43fd13c5d9fee36bf6f062587ff909da2565d29 /target/linux/rdc-2.6/files/drivers/net/r6040.c
parentd01f0cd58f55d907937dc481a3eee9b269faf1a7 (diff)
pci_module_init() is deprecated for a long time - this won't hurt .21 and will be needed for .22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7937 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2398031d5f..f495b4af69 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);
}