can: dev: fix sparse warning for can_restart
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 6 Feb 2012 21:21:13 +0000 (22:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 2 Jul 2012 09:07:25 +0000 (11:07 +0200)
commit77fc95a356cd07d247bbe42a66596ba7b8486920
tree9f630c4a38fea2da7320821cfc6b29cefffce2b8
parentea9f07197cae739fb22fd208a68425fea26a763b
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>
drivers/net/can/dev.c