thunderbolt: Use const qualifier for `ring_interrupt_index`
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 10 Mar 2023 17:20:49 +0000 (11:20 -0600)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 20 Mar 2023 07:38:07 +0000 (09:38 +0200)
commit1716efdb07938bd6510e1127d02012799112c433
tree64edb4f8322fce6208c9103077be5e0e1207778d
parentc82510b1d87bdebfe916048857d2ef46f1778aa5
thunderbolt: Use const qualifier for `ring_interrupt_index`

`ring_interrupt_index` doesn't change the data for `ring` so mark it as
const. This is needed by the following patch that disables interrupt
auto clear for rings.

Cc: Sanju Mehta <Sanju.Mehta@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nhi.c