summaryrefslogtreecommitdiff
path: root/drivers/net/wan/pc300too.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2007-02-14 03:40:21 +0300
committerJeff Garzik <jeff@garzik.org>2007-02-17 23:26:45 +0300
commit11cc3bb522ddb3962fb7134ffc5e27c487746193 (patch)
treefffad784e36c14315766a7354588c57a4fb28403 /drivers/net/wan/pc300too.c
parent9cc6d14e90c36eccf371d3c477211594bc274d0a (diff)
downloadlinux-11cc3bb522ddb3962fb7134ffc5e27c487746193.tar.xz
net/wan/pc300too.c: pci_module_init to pci_register_driver
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wan/pc300too.c')
-rw-r--r--drivers/net/wan/pc300too.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c
index bc156b51678a..aff05dba720a 100644
--- a/drivers/net/wan/pc300too.c
+++ b/drivers/net/wan/pc300too.c
@@ -542,7 +542,7 @@ static int __init pc300_init_module(void)
CLOCK_BASE = use_crystal_clock ? 24576000 : pci_clock_freq;
- return pci_module_init(&pc300_pci_driver);
+ return pci_register_driver(&pc300_pci_driver);
}