diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-02-06 21:24:57 (GMT) |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-02 09:07:24 (GMT) |
commit | ea9f07197cae739fb22fd208a68425fea26a763b (patch) | |
tree | 10311c5898b7e918eb369bec901aa1068fea6a65 /drivers/net | |
parent | e87183c2b5ab1f55ebad2f260a7eb4d31549ce25 (diff) | |
download | linux-fsl-qoriq-ea9f07197cae739fb22fd208a68425fea26a763b.tar.xz |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/can/cc770/cc770.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/cc770/cc770.c b/drivers/net/can/cc770/cc770.c index d42a6a7..a138db1 100644 --- a/drivers/net/can/cc770/cc770.c +++ b/drivers/net/can/cc770/cc770.c @@ -695,7 +695,7 @@ static void cc770_tx_interrupt(struct net_device *dev, unsigned int o) netif_wake_queue(dev); } -irqreturn_t cc770_interrupt(int irq, void *dev_id) +static irqreturn_t cc770_interrupt(int irq, void *dev_id) { struct net_device *dev = (struct net_device *)dev_id; struct cc770_priv *priv = netdev_priv(dev); |