From ec00f044ef6637470dcb4ce676a8c513848487cb Mon Sep 17 00:00:00 2001
From: Oliver Hartkopp <socketcan@hartkopp.net>
Date: Wed, 20 Jun 2012 17:46:56 +0200
Subject: 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/proc.c | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'net/can/proc.c')

diff --git a/net/can/proc.c b/net/can/proc.c
index ba873c36d2f..3b6dd318049 100644
--- a/net/can/proc.c
+++ b/net/can/proc.c
@@ -83,9 +83,6 @@ static const char rx_list_name[][8] = {
 	[RX_EFF] = "rx_eff",
 };
 
-/* receive filters subscribed for 'all' CAN devices */
-extern struct dev_rcv_lists can_rx_alldev_list;
-
 /*
  * af_can statistics stuff
  */
-- 
cgit v1.2.3-70-g09d2