summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorRichard Cochran <richardcochran@gmail.com>2015-01-02 20:22:04 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-02 16:47:35 -0500
commitf28ba401dbd9e9fe63d9a7f9101638ca709185b2 (patch)
tree48df6513b53cec56ad34abe2b44bbafa503259d9 /drivers/net/ethernet/broadcom
parent1891172aa5c32f08ad9931b794edd71e91a4a527 (diff)
downloadblackbird-obmc-linux-f28ba401dbd9e9fe63d9a7f9101638ca709185b2.tar.gz
blackbird-obmc-linux-f28ba401dbd9e9fe63d9a7f9101638ca709185b2.zip
bnx2x: convert to CYCLECOUNTER_MASK macro.
Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index 2c951326a85d..0758c8bef4ba 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -14610,7 +14610,7 @@ static void bnx2x_init_cyclecounter(struct bnx2x *bp)
{
memset(&bp->cyclecounter, 0, sizeof(bp->cyclecounter));
bp->cyclecounter.read = bnx2x_cyclecounter_read;
- bp->cyclecounter.mask = CLOCKSOURCE_MASK(64);
+ bp->cyclecounter.mask = CYCLECOUNTER_MASK(64);
bp->cyclecounter.shift = 1;
bp->cyclecounter.mult = 1;
}
OpenPOWER on IntegriCloud