diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-17 21:06:32 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-11-06 12:50:03 -0800 |
commit | 10738ba8e02bc8cb1c4e832611621aa9666f4a24 (patch) | |
tree | 1655861deb79a5869cf19fd83b4d002e9fd1b682 /include | |
parent | 2bccef39c0d94b9ee428ae777c59cef1fced786c (diff) | |
download | linux-10738ba8e02bc8cb1c4e832611621aa9666f4a24.tar.bz2 |
ide: 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: "David S. Miller" <davem@davemloft.net>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index dc152e4b7f73..cc412175d036 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -1211,7 +1211,7 @@ extern int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout); extern void ide_stall_queue(ide_drive_t *drive, unsigned long timeout); -extern void ide_timer_expiry(unsigned long); +extern void ide_timer_expiry(struct timer_list *t); extern irqreturn_t ide_intr(int irq, void *dev_id); extern void do_ide_request(struct request_queue *); extern void ide_requeue_and_plug(ide_drive_t *drive, struct request *rq); |