aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/hplance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hplance.c')
-rw-r--r--drivers/net/hplance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hplance.c b/drivers/net/hplance.c
index d8410634bca..68569346460 100644
--- a/drivers/net/hplance.c
+++ b/drivers/net/hplance.c
@@ -217,7 +217,7 @@ static int hplance_close(struct net_device *dev)
int __init hplance_init_module(void)
{
- return dio_module_init(&hplance_driver);
+ return dio_register_driver(&hplance_driver);
}
void __exit hplance_cleanup_module(void)