[patch] typo in Space.c around CONFIG_DEFXX

From: François romieu (romieu@ensta.fr)
Date: Tue Apr 04 2000 - 07:12:29 EST


Problem :
gcc -D__KERNEL__ -I/usr/src/linux-2.3.99pre4-3/include -Wall -Wstrict-prototypes
 -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -c -o Space.o Space.c
Space.c:189: warning: initialization from incompatible pointer type
Space.c:189: parse error before `.'
Space.c:191: warning: missing braces around initializer for `eisa_probes[1]'
Space.c:192: parse error before `}'

Patch :

--- linux-2.3.99pre4-3/drivers/net/Space.c.orig Tue Apr 4 10:39:07 2000
+++ linux-2.3.99pre4-3/drivers/net/Space.c Tue Apr 4 10:39:25 2000
@@ -186,7 +186,7 @@
        {ne3210_probe, 0},
 #endif
 #ifdef CONFIG_DEFXX
- {dfx_probe, 0}.
+ {dfx_probe, 0},
 #endif
        {NULL, 0},
 };

-- 
Ueimor

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:11 EST