summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/mvme147.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/amd/mvme147.c')
-rw-r--r--drivers/net/ethernet/amd/mvme147.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/mvme147.c b/drivers/net/ethernet/amd/mvme147.c
index a51497c9d2af..e108e911da05 100644
--- a/drivers/net/ethernet/amd/mvme147.c
+++ b/drivers/net/ethernet/amd/mvme147.c
@@ -188,7 +188,7 @@ static struct net_device *dev_mvme147_lance;
int __init init_module(void)
{
dev_mvme147_lance = mvme147lance_probe(-1);
- return PTR_RET(dev_mvme147_lance);
+ return PTR_ERR_OR_ZERO(dev_mvme147_lance);
}
void __exit cleanup_module(void)