diff options
| author | Kees Cook <[email protected]> | 2017-10-25 03:53:59 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-27 12:09:16 +0900 |
| commit | 032cfd66afcc2dd2c7be89c71b020fcb15bcc37d (patch) | |
| tree | 3d4fdf1cc5ef8e4f1e6cfe12b73d32291ad12021 /include | |
| parent | 605ea2f9356f315c9c03d69a54dc910fde32fd71 (diff) | |
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 <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Tobias Klauser <[email protected]>
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/if_frad.h | 1 |
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 */ |