Commit d009313c authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

net: qcom/emac: make function emac_isr static

The function emac_isr is local to the source and does not need to
be in global scope, so make it static.

Cleans up sparse warnings:
symbol 'emac_isr' was not declared. Should it be static?
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cec451ce
...@@ -130,7 +130,7 @@ static int emac_start_xmit(struct sk_buff *skb, struct net_device *netdev) ...@@ -130,7 +130,7 @@ static int emac_start_xmit(struct sk_buff *skb, struct net_device *netdev)
return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb); return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb);
} }
irqreturn_t emac_isr(int _irq, void *data) static irqreturn_t emac_isr(int _irq, void *data)
{ {
struct emac_irq *irq = data; struct emac_irq *irq = data;
struct emac_adapter *adpt = struct emac_adapter *adpt =
......
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