From: Andrew Morton Date: Fri, 3 Feb 2006 09:45:20 +0000 (-0800) Subject: [PATCH] uli526x warning fix X-Git-Tag: v2.6.16-rc3~139^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99bb25793e4bb8e9b633ea001dd7312b5967385a;p=linux-2.6 [PATCH] uli526x warning fix drivers/net/tulip/uli526x.c: In function `__check_mode': drivers/net/tulip/uli526x.c:1693: warning: return from incompatible pointer type Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index 9839816668..238e9c72cb 100644 --- a/drivers/net/tulip/uli526x.c +++ b/drivers/net/tulip/uli526x.c @@ -214,7 +214,7 @@ static u32 uli526x_cr6_user_set; /* For module input parameter */ static int debug; static u32 cr6set; -static unsigned char mode = 8; +static int mode = 8; /* function declaration ------------------------------------- */ static int uli526x_open(struct net_device *);