summaryrefslogtreecommitdiff
path: root/include/linux/if_frad.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-25 13:53:59 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-27 06:09:16 +0300
commit032cfd66afcc2dd2c7be89c71b020fcb15bcc37d (patch)
tree3d4fdf1cc5ef8e4f1e6cfe12b73d32291ad12021 /include/linux/if_frad.h
parent605ea2f9356f315c9c03d69a54dc910fde32fd71 (diff)
downloadlinux-032cfd66afcc2dd2c7be89c71b020fcb15bcc37d.tar.xz
drivers/net: wan/sdla: 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: Allen Pais <allen.lkml@gmail.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Tobias Klauser <tklauser@distanz.ch> 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 'include/linux/if_frad.h')
-rw-r--r--include/linux/if_frad.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/if_frad.h b/include/linux/if_frad.h
index 46df7e565d6f..82a1b4e93570 100644
--- a/include/linux/if_frad.h
+++ b/include/linux/if_frad.h
@@ -83,6 +83,7 @@ struct frad_local
/* fields that are used by the Sangoma SDLA cards */
struct timer_list timer;
+ struct net_device *dev;
int type; /* adapter type */
int state; /* state of the S502/8 control latch */
int buffer; /* current buffer for S508 firmware */