forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-20 e636c8d336489bf3eed5878299e6cc045bbad077
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)