android_kernel_xiaomi_sm8350/drivers/thunderbolt
Mario Limonciello 32518cd0fc thunderbolt: Use const qualifier for ring_interrupt_index
commit 1716efdb07938bd6510e1127d02012799112c433 upstream.

`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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-05 11:16:39 +02:00
..
cap.c
ctl.c
ctl.h
dma_port.c
dma_port.h
domain.c
eeprom.c
icm.c
Kconfig
lc.c
Makefile
nhi_ops.c
nhi_regs.h
nhi.c
nhi.h
path.c
property.c
switch.c
tb_msgs.h
tb_regs.h
tb.c
tb.h
tunnel.c
tunnel.h
xdomain.c