forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
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); \