diff options
author | Joachim Eastwood <manabian@gmail.com> | 2012-10-18 11:01:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-19 13:18:29 -0400 |
commit | e0da1f144abd34b3e29fe0ba871fee2c57b991c6 (patch) | |
tree | 2fa5023f65f4cf843e397cd507c56fd4409d21d0 /drivers/net/ethernet/cadence/macb.c | |
parent | 5e32353d318835a76f0bb61fd62271c30a43ee22 (diff) |
net/at91_ether: share macb_set_rx_mode with macb
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Diffstat (limited to 'drivers/net/ethernet/cadence/macb.c')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 8ee6de523ed..6c84a1104af 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c @@ -997,7 +997,7 @@ static void macb_sethashtable(struct net_device *dev) /* * Enable/Disable promiscuous and multicast modes. */ -static void macb_set_rx_mode(struct net_device *dev) +void macb_set_rx_mode(struct net_device *dev) { unsigned long cfg; struct macb *bp = netdev_priv(dev); @@ -1029,6 +1029,7 @@ static void macb_set_rx_mode(struct net_device *dev) macb_writel(bp, NCFGR, cfg); } +EXPORT_SYMBOL_GPL(macb_set_rx_mode); static int macb_open(struct net_device *dev) { |