diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-17 03:29:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-18 14:39:38 +0300 |
commit | 1fccb565e8b09e54467d41111f6faf08fcc9c3c1 (patch) | |
tree | 6dd446110d87a42f12af91c6abcfa01a92895ce9 /net/can/af_can.h | |
parent | a8c22a2bbc67d001479696c5696ae11c84116701 (diff) | |
download | linux-1fccb565e8b09e54467d41111f6faf08fcc9c3c1.tar.xz |
net: can: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/af_can.h')
-rw-r--r-- | net/can/af_can.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/af_can.h b/net/can/af_can.h index d0ef45bb2a72..eca6463c6213 100644 --- a/net/can/af_can.h +++ b/net/can/af_can.h @@ -113,6 +113,6 @@ struct s_pstats { /* function prototypes for the CAN networklayer procfs (proc.c) */ void can_init_proc(struct net *net); void can_remove_proc(struct net *net); -void can_stat_update(unsigned long data); +void can_stat_update(struct timer_list *t); #endif /* AF_CAN_H */ |