forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/alpha/include/asm/core_t2.h
....@@ -572,7 +572,7 @@
572572 it doesn't make sense to merge the pio and mmio routines. */
573573
574574 #define IOPORT(OS, NS) \
575
-__EXTERN_INLINE unsigned int t2_ioread##NS(void __iomem *xaddr) \
575
+__EXTERN_INLINE unsigned int t2_ioread##NS(const void __iomem *xaddr) \
576576 { \
577577 if (t2_is_mmio(xaddr)) \
578578 return t2_read##OS(xaddr); \