Blackfin arch: add proper const volatile to addr argument to the read functions

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>

authored by Mike Frysinger and committed by Bryan Wu 216e39db 334280ff

+3 -3
+3 -3
include/asm-blackfin/io.h
··· 20 20 */ 21 21 #ifndef __ASSEMBLY__ 22 22 23 - static inline unsigned char readb(void __iomem *addr) 23 + static inline unsigned char readb(const volatile void __iomem *addr) 24 24 { 25 25 unsigned int val; 26 26 int tmp; ··· 35 35 return (unsigned char) val; 36 36 } 37 37 38 - static inline unsigned short readw(void __iomem *addr) 38 + static inline unsigned short readw(const volatile void __iomem *addr) 39 39 { 40 40 unsigned int val; 41 41 int tmp; ··· 50 50 return (unsigned short) val; 51 51 } 52 52 53 - static inline unsigned int readl(void __iomem *addr) 53 + static inline unsigned int readl(const volatile void __iomem *addr) 54 54 { 55 55 unsigned int val; 56 56 int tmp;