Commit b26f8c1c authored by Aristeu Sergio Rozanski Filho's avatar Aristeu Sergio Rozanski Filho Committed by Jeff Garzik

[PATCH] eepro: fix return value in init_module()

eepro: fix return value in init_module()
Signed-off-by: default avatarAristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent e085c123
...@@ -1811,7 +1811,7 @@ init_module(void) ...@@ -1811,7 +1811,7 @@ init_module(void)
if (io[0] == 0 && autodetect == 0) { if (io[0] == 0 && autodetect == 0) {
printk(KERN_WARNING "eepro_init_module: Probe is very dangerous in ISA boards!\n"); printk(KERN_WARNING "eepro_init_module: Probe is very dangerous in ISA boards!\n");
printk(KERN_WARNING "eepro_init_module: Please add \"autodetect=1\" to force probe\n"); printk(KERN_WARNING "eepro_init_module: Please add \"autodetect=1\" to force probe\n");
return 1; return -ENODEV;
} }
else if (autodetect) { else if (autodetect) {
/* if autodetect is set then we must force detection */ /* if autodetect is set then we must force detection */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment