summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/src/drivers/net/yellowfin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/net/yellowfin.c b/linux/src/drivers/net/yellowfin.c
index c8e5314..8c2b5df 100644
--- a/linux/src/drivers/net/yellowfin.c
+++ b/linux/src/drivers/net/yellowfin.c
@@ -431,7 +431,7 @@ int yellowfin_probe(struct device *dev)
#if defined (MODULE)
return cards_found;
#else
- return 0;
+ return cards_found ? 0 : -ENODEV;
#endif
}