Commit ea9f07197cae739fb22fd208a68425fea26a763b
1 parent
e87183c2b5
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
can: cc770: fix sparse warning for cc770_interrupt
Make cc770_interrupt static to fix the following sparse warning: drivers/net/can/cc770/cc770.c:699:13: warning: symbol 'cc770_interrupt' was not declared. Should it be static? Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/net/can/cc770/cc770.c
... | ... | @@ -695,7 +695,7 @@ |
695 | 695 | netif_wake_queue(dev); |
696 | 696 | } |
697 | 697 | |
698 | -irqreturn_t cc770_interrupt(int irq, void *dev_id) | |
698 | +static irqreturn_t cc770_interrupt(int irq, void *dev_id) | |
699 | 699 | { |
700 | 700 | struct net_device *dev = (struct net_device *)dev_id; |
701 | 701 | struct cc770_priv *priv = netdev_priv(dev); |