forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/alpha/include/asm/jensen.h
....@@ -305,7 +305,7 @@
305305 that it doesn't make sense to merge them. */
306306
307307 #define IOPORT(OS, NS) \
308
-__EXTERN_INLINE unsigned int jensen_ioread##NS(void __iomem *xaddr) \
308
+__EXTERN_INLINE unsigned int jensen_ioread##NS(const void __iomem *xaddr) \
309309 { \
310310 if (jensen_is_mmio(xaddr)) \
311311 return jensen_read##OS(xaddr - 0x100000000ul); \