diff options
Diffstat (limited to 'drivers/net/ethernet/amd/ni65.c')
-rw-r--r-- | drivers/net/ethernet/amd/ni65.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/ni65.c b/drivers/net/ethernet/amd/ni65.c index 26fc0ce0faa3..1cf33addd15e 100644 --- a/drivers/net/ethernet/amd/ni65.c +++ b/drivers/net/ethernet/amd/ni65.c | |||
@@ -1238,7 +1238,7 @@ MODULE_PARM_DESC(dma, "ni6510 ISA DMA channel (ignored for some cards)"); | |||
1238 | int __init init_module(void) | 1238 | int __init init_module(void) |
1239 | { | 1239 | { |
1240 | dev_ni65 = ni65_probe(-1); | 1240 | dev_ni65 = ni65_probe(-1); |
1241 | return PTR_RET(dev_ni65); | 1241 | return PTR_ERR_OR_ZERO(dev_ni65); |
1242 | } | 1242 | } |
1243 | 1243 | ||
1244 | void __exit cleanup_module(void) | 1244 | void __exit cleanup_module(void) |