hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/thunderbolt/nhi.c
....@@ -36,7 +36,7 @@
3636
3737 #define NHI_MAILBOX_TIMEOUT 500 /* ms */
3838
39
-static int ring_interrupt_index(struct tb_ring *ring)
39
+static int ring_interrupt_index(const struct tb_ring *ring)
4040 {
4141 int bit = ring->hop;
4242 if (!ring->is_tx)