diff options
author | Kees Cook <keescook@chromium.org> | 2017-10-16 23:56:58 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-10-19 23:15:16 +0200 |
commit | 1843594c56bd79598a7ca4e6f7b6173e7d71b941 (patch) | |
tree | 5b3ac632d30ae26abe5064841a8dd35fd56859e9 /drivers/ata/ahci.h | |
parent | clockevents: Retry programming min delta up to 10 times (diff) | |
download | linux-1843594c56bd79598a7ca4e6f7b6173e7d71b941.tar.xz linux-1843594c56bd79598a7ca4e6f7b6173e7d71b941.zip |
ahci: 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. Adds a pointer back to link
structure.
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: linux-ide@vger.kernel.org
Link: https://lkml.kernel.org/r/20171016215658.GA101965@beast
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r-- | drivers/ata/ahci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 8b61123d2c3c..749fd94441b0 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -303,6 +303,7 @@ struct ahci_em_priv { unsigned long saved_activity; unsigned long activity; unsigned long led_state; + struct ata_link *link; }; struct ahci_port_priv { |