diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2012-06-20 17:46:56 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-07-02 11:07:27 +0200 |
commit | ec00f044ef6637470dcb4ce676a8c513848487cb (patch) | |
tree | b760de58c6d631e15854a4d4cff5a43c81d7fff2 /net/can/af_can.h | |
parent | can: dev: fix sparse warning for can_restart (diff) | |
download | linux-ec00f044ef6637470dcb4ce676a8c513848487cb.tar.xz linux-ec00f044ef6637470dcb4ce676a8c513848487cb.zip |
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>
Diffstat (limited to 'net/can/af_can.h')
-rw-r--r-- | net/can/af_can.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/can/af_can.h b/net/can/af_can.h index fd882dbadad3..1dccb4c33894 100644 --- a/net/can/af_can.h +++ b/net/can/af_can.h @@ -104,6 +104,9 @@ struct s_pstats { unsigned long rcv_entries_max; }; +/* receive filters subscribed for 'all' CAN devices */ +extern struct dev_rcv_lists can_rx_alldev_list; + /* function prototypes for the CAN networklayer procfs (proc.c) */ extern void can_init_proc(void); extern void can_remove_proc(void); |