Commit cd1ff948 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

dpaa_eth: Make dpaa_a050385_wa static

Fix sparse warning:

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2065:5:
 warning: symbol 'dpaa_a050385_wa' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3a0a9783
...@@ -2062,7 +2062,7 @@ static inline int dpaa_xmit(struct dpaa_priv *priv, ...@@ -2062,7 +2062,7 @@ static inline int dpaa_xmit(struct dpaa_priv *priv,
} }
#ifdef CONFIG_DPAA_ERRATUM_A050385 #ifdef CONFIG_DPAA_ERRATUM_A050385
int dpaa_a050385_wa(struct net_device *net_dev, struct sk_buff **s) static int dpaa_a050385_wa(struct net_device *net_dev, struct sk_buff **s)
{ {
struct dpaa_priv *priv = netdev_priv(net_dev); struct dpaa_priv *priv = netdev_priv(net_dev);
struct sk_buff *new_skb, *skb = *s; struct sk_buff *new_skb, *skb = *s;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment