aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_7220.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-04 17:45:35 -0700
committerDoug Ledford <dledford@redhat.com>2017-10-09 12:19:41 -0400
commit4037c92f0a3022825e56f60d09f05e2ab37ccd7e (patch)
treed15494c92db28c059a711a0ba8cab928bcbe8145 /drivers/infiniband/hw/qib/qib_7220.h
parentRDMA/nes: Convert timers to use timer_setup() (diff)
downloadlinux-dev-4037c92f0a3022825e56f60d09f05e2ab37ccd7e.tar.xz
linux-dev-4037c92f0a3022825e56f60d09f05e2ab37ccd7e.zip
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.h1
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 {