summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2007-12-22 00:04:49 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:57:40 +0100
commit2ba582b782071c038b312ea330d3090a39f3c66a (patch)
treed867da4b389cc136307b0b945b525b1275033f51 /drivers/net/bnx2.c
parent[BNX2]: Update version to 1.7.1. (diff)
downloadlinux-2ba582b782071c038b312ea330d3090a39f3c66a.tar.xz
linux-2ba582b782071c038b312ea330d3090a39f3c66a.zip
[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>
Diffstat (limited to '')
-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 aef2a9ac16a2..94d1857d2c5d 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;