diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-02-06 22:21:13 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-02 11:07:25 +0200 |
commit | 77fc95a356cd07d247bbe42a66596ba7b8486920 (patch) | |
tree | 9f630c4a38fea2da7320821cfc6b29cefffce2b8 /drivers/net/can/dev.c | |
parent | ea9f07197cae739fb22fd208a68425fea26a763b (diff) |
can: dev: fix sparse warning for can_restart
Make can_restart static to fix the following sparse warning:
drivers/net/can/dev.c:371:6: warning: symbol 'can_restart' was not
declared. Should it be static?
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/dev.c')
-rw-r--r-- | drivers/net/can/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c index 239e4dd92ca..963e2ccd10d 100644 --- a/drivers/net/can/dev.c +++ b/drivers/net/can/dev.c @@ -401,7 +401,7 @@ EXPORT_SYMBOL_GPL(can_free_echo_skb); /* * CAN device restart for bus-off recovery */ -void can_restart(unsigned long data) +static void can_restart(unsigned long data) { struct net_device *dev = (struct net_device *)data; struct can_priv *priv = netdev_priv(dev); |