kernel/drivers/thunderbolt/nhi.c
.. .. @@ -36,7 +36,7 @@ 36 36 37 37 #define NHI_MAILBOX_TIMEOUT 500 /* ms */ 38 38 39 -static int ring_interrupt_index(struct tb_ring *ring)39 +static int ring_interrupt_index(const struct tb_ring *ring)40 40 { 41 41 int bit = ring->hop; 42 42 if (!ring->is_tx)