can: fix sparse warning in af_can.c
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 20 Jun 2012 15:46:56 +0000 (17:46 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 2 Jul 2012 09:07:27 +0000 (11:07 +0200)
commitec00f044ef6637470dcb4ce676a8c513848487cb
treeb760de58c6d631e15854a4d4cff5a43c81d7fff2
parent77fc95a356cd07d247bbe42a66596ba7b8486920
can: fix sparse warning in af_can.c

Put can_rx_alldev_list into the af_can header to fix the following
sparse warning: net/can/af_can.c:80:22: warning: symbol
'can_rx_alldev_list' was not declared. Should it be static?

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/af_can.h
net/can/proc.c