Skip to content

Commit d009313

Browse files
Colin Ian Kingdavem330
authored andcommitted
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>
1 parent cec451c commit d009313

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/qualcomm/emac

1 file changed

+1
-1
lines changed

drivers/net/ethernet/qualcomm/emac/emac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static int emac_start_xmit(struct sk_buff *skb, struct net_device *netdev)
130130
return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb);
131131
}
132132

133-
irqreturn_t emac_isr(int _irq, void *data)
133+
static irqreturn_t emac_isr(int _irq, void *data)
134134
{
135135
struct emac_irq *irq = data;
136136
struct emac_adapter *adpt =

0 commit comments

Comments
 (0)