diff options
Diffstat (limited to 'drivers/net/mac89x0.c')
-rw-r--r-- | drivers/net/mac89x0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mac89x0.c b/drivers/net/mac89x0.c index a19b5958cee9..2a66e5b7cebc 100644 --- a/drivers/net/mac89x0.c +++ b/drivers/net/mac89x0.c | |||
@@ -289,7 +289,7 @@ struct net_device * __init mac89x0_probe(int unit) | |||
289 | err = register_netdev(dev); | 289 | err = register_netdev(dev); |
290 | if (err) | 290 | if (err) |
291 | goto out1; | 291 | goto out1; |
292 | return 0; | 292 | return NULL; |
293 | out1: | 293 | out1: |
294 | nubus_writew(0, dev->base_addr + ADD_PORT); | 294 | nubus_writew(0, dev->base_addr + ADD_PORT); |
295 | out: | 295 | out: |