summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc-2.6/files/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rdc-2.6/files/drivers/net')
-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 2398031d5..f495b4af6 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);
}