aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-12-21 15:04:49 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-28 14:57:40 -0800
commit2ba582b782071c038b312ea330d3090a39f3c66a (patch)
treed867da4b389cc136307b0b945b525b1275033f51
parentf13561cb2f97794df43f83d1ee808e46eb5d2405 (diff)
[BNX2]: Fix compiler warning.
Change bnx2_init_napi() to void. Warning was noted by DaveM. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index aef2a9ac16a..94d1857d2c5 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -7313,7 +7313,7 @@ bnx2_bus_string(struct bnx2 *bp, char *str)
return str;
}
-static int __devinit
+static void __devinit
bnx2_init_napi(struct bnx2 *bp)
{
int i;