diff options
author | Andrew Morton <akpm@osdl.org> | 2006-02-03 12:45:20 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-07 10:53:11 +0300 |
commit | 99bb25793e4bb8e9b633ea001dd7312b5967385a (patch) | |
tree | f394c1a36b88781ae69260ef4d48852979cd529e /drivers/net | |
parent | 3cfc15103aa56c2c7ee6dd312c24a8d1697bade1 (diff) | |
download | linux-99bb25793e4bb8e9b633ea001dd7312b5967385a.tar.xz |
[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 <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/tulip/uli526x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c index 983981666800..238e9c72cb3a 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 *); |