summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/toshiba
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-19 18:37:55 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-21 17:17:50 -0400
commite26cc7ff77ac9726c05e9595998121a7e17d32ee (patch)
tree4b05a4fc8792416bb2f9677ceab58d7f91123b6f /drivers/net/ethernet/toshiba
parent3f55b7ed5e5d4aa7291e3a1e2f7224eeba5810ba (diff)
downloadlinux-e26cc7ff77ac9726c05e9595998121a7e17d32ee.tar.bz2
spider_net: Use DECLARE_BITMAP
Use the generic mechanism to declare a bitmap instead of unsigned long. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/toshiba')
-rw-r--r--drivers/net/ethernet/toshiba/spider_net.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/toshiba/spider_net.c b/drivers/net/ethernet/toshiba/spider_net.c
index 8e9371a3388a..3c54a2cae5df 100644
--- a/drivers/net/ethernet/toshiba/spider_net.c
+++ b/drivers/net/ethernet/toshiba/spider_net.c
@@ -604,8 +604,7 @@ spider_net_set_multi(struct net_device *netdev)
int i;
u32 reg;
struct spider_net_card *card = netdev_priv(netdev);
- unsigned long bitmask[SPIDER_NET_MULTICAST_HASHES / BITS_PER_LONG] =
- {0, };
+ DECLARE_BITMAP(bitmask, SPIDER_NET_MULTICAST_HASHES) = {};
spider_net_set_promisc(card);