diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-05 03:45:35 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-09 19:19:41 +0300 |
commit | 4037c92f0a3022825e56f60d09f05e2ab37ccd7e (patch) | |
tree | d15494c92db28c059a711a0ba8cab928bcbe8145 /drivers/infiniband/hw/qib/qib_7220.h | |
parent | f0309de91aeb5271c920e768f56e4d2a12be30f5 (diff) | |
download | linux-4037c92f0a3022825e56f60d09f05e2ab37ccd7e.tar.xz |
IB/qib: 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()
helper to pass the timer pointer explicitly.
Cc: Mike Marciniszyn <infinipath@intel.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Cc: linux-rdma@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_7220.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_7220.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib_7220.h b/drivers/infiniband/hw/qib/qib_7220.h index a5356cb4252e..c467a6076aa8 100644 --- a/drivers/infiniband/hw/qib/qib_7220.h +++ b/drivers/infiniband/hw/qib/qib_7220.h @@ -75,6 +75,7 @@ struct qib_chip_specific { char bitsmsgbuf[64]; struct timer_list relock_timer; unsigned int relock_interval; /* in jiffies */ + struct qib_devdata *dd; }; struct qib_chippport_specific { |