From 6e2013d5c5ca77d97b6d1cdbefe8cd226a405ec3 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 7 Sep 1999 07:19:16 +0000 Subject: 1999-09-07 Thomas Bushnell, BSG * linux/src/drivers/net/yellowfin.c (yellowfin_probe): Return correct value. Reported by Marcus Brinkmann . --- linux/src/drivers/net/yellowfin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/src') 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 } -- cgit v1.2.3