forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/mips/include/asm/sn/io.h
....@@ -44,7 +44,7 @@
4444 IIO_ITTE_PUT((nasid), HUB_PIO_MAP_TO_MEM, \
4545 (bigwin), IIO_ITTE_INVALID_WIDGET, 0)
4646
47
-#define IIO_ITTE_GET(nasid, bigwin) REMOTE_HUB_ADDR((nasid), IIO_ITTE(bigwin))
47
+#define IIO_ITTE_GET(nasid, bigwin) REMOTE_HUB_PTR((nasid), IIO_ITTE(bigwin))
4848
4949 /*
5050 * Macro which takes the widget number, and returns the