]> err.no Git - linux-2.6/commitdiff
[PATCH] uli526x warning fix
authorAndrew Morton <akpm@osdl.org>
Fri, 3 Feb 2006 09:45:20 +0000 (01:45 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 7 Feb 2006 07:53:11 +0000 (02:53 -0500)
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 <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/tulip/uli526x.c

index 9839816668007223ebcb98dd21f7e50747542272..238e9c72cb3ab8c4f1556febafc82fb17deb2875 100644 (file)
@@ -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 *);