diff options
Diffstat (limited to 'drivers/net/ethernet/amd/sun3lance.c')
-rw-r--r-- | drivers/net/ethernet/amd/sun3lance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/sun3lance.c b/drivers/net/ethernet/amd/sun3lance.c index 4375abe61da1..d6b20296b8e4 100644 --- a/drivers/net/ethernet/amd/sun3lance.c +++ b/drivers/net/ethernet/amd/sun3lance.c | |||
@@ -940,7 +940,7 @@ static struct net_device *sun3lance_dev; | |||
940 | int __init init_module(void) | 940 | int __init init_module(void) |
941 | { | 941 | { |
942 | sun3lance_dev = sun3lance_probe(-1); | 942 | sun3lance_dev = sun3lance_probe(-1); |
943 | return PTR_RET(sun3lance_dev); | 943 | return PTR_ERR_OR_ZERO(sun3lance_dev); |
944 | } | 944 | } |
945 | 945 | ||
946 | void __exit cleanup_module(void) | 946 | void __exit cleanup_module(void) |