Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/net/can/cc770/cc770.c
··· 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);