diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-05 10:10:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-05 21:27:02 -0700 |
commit | d009313c99ba575b65a944fe2c683c6346ea1721 (patch) | |
tree | 101bcecfe1b7b682e06cadbf66b38d29ca74ce1b /drivers/net/ethernet/qualcomm | |
parent | cec451ce60e50dba6d4136b7d1e62a5900cd264f (diff) | |
download | linux-d009313c99ba575b65a944fe2c683c6346ea1721.tar.bz2 |
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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm')
-rw-r--r-- | drivers/net/ethernet/qualcomm/emac/emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qualcomm/emac/emac.c b/drivers/net/ethernet/qualcomm/emac/emac.c index 759543512117..f477ba29c569 100644 --- a/drivers/net/ethernet/qualcomm/emac/emac.c +++ b/drivers/net/ethernet/qualcomm/emac/emac.c @@ -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); } -irqreturn_t emac_isr(int _irq, void *data) +static irqreturn_t emac_isr(int _irq, void *data) { struct emac_irq *irq = data; struct emac_adapter *adpt = |