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>
Showing
Please register or sign in to comment