aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/if_frad.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-25 03:53:59 -0700
committerDavid S. Miller <davem@davemloft.net>2017-10-27 12:09:16 +0900
commit032cfd66afcc2dd2c7be89c71b020fcb15bcc37d (patch)
tree3d4fdf1cc5ef8e4f1e6cfe12b73d32291ad12021 /include/linux/if_frad.h
parentdrivers/net: wan/lmc: Convert timers to use timer_setup() (diff)
downloadlinux-dev-032cfd66afcc2dd2c7be89c71b020fcb15bcc37d.tar.xz
linux-dev-032cfd66afcc2dd2c7be89c71b020fcb15bcc37d.zip
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 '')
-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 */