forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
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)