diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/include/sys/mmio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/include/sys/mmio.h b/sys/include/sys/mmio.h index 3d012a5..69d8fd2 100644 --- a/sys/include/sys/mmio.h +++ b/sys/include/sys/mmio.h @@ -53,7 +53,7 @@ */ #define _MMIO_WRITE_TYPE(TYPE, SUFFIX) \ static inline void \ - mmio_write##SUFFIX(void *addr, TYPE val) \ + mmio_write##SUFFIX(volatile void *addr, TYPE val) \ { \ uintptr_t tmp; \ \ @@ -72,7 +72,7 @@ */ #define _MMIO_READ_TYPE(TYPE, SUFFIX) \ static inline TYPE \ - mmio_read##SUFFIX(void *addr) \ + mmio_read##SUFFIX(volatile void *addr) \ { \ uintptr_t tmp; \ \ |