summaryrefslogtreecommitdiffstats
path: root/drivers/net
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 /drivers/net
parentf13561cb2f97794df43f83d1ee808e46eb5d2405 (diff)
downloadop-kernel-dev-2ba582b782071c038b312ea330d3090a39f3c66a.zip
op-kernel-dev-2ba582b782071c038b312ea330d3090a39f3c66a.tar.gz
[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 'drivers/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 aef2a9a..94d1857 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;
OpenPOWER on IntegriCloud