aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/io.h')
-rw-r--r--include/asm-blackfin/io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h
index eac8bcaf64c2..142cb333db29 100644
--- a/include/asm-blackfin/io.h
+++ b/include/asm-blackfin/io.h
@@ -20,7 +20,7 @@
20 */ 20 */
21#ifndef __ASSEMBLY__ 21#ifndef __ASSEMBLY__
22 22
23static inline unsigned char readb(void __iomem *addr) 23static inline unsigned char readb(const volatile void __iomem *addr)
24{ 24{
25 unsigned int val; 25 unsigned int val;
26 int tmp; 26 int tmp;
@@ -35,7 +35,7 @@ static inline unsigned char readb(void __iomem *addr)
35 return (unsigned char) val; 35 return (unsigned char) val;
36} 36}
37 37
38static inline unsigned short readw(void __iomem *addr) 38static inline unsigned short readw(const volatile void __iomem *addr)
39{ 39{
40 unsigned int val; 40 unsigned int val;
41 int tmp; 41 int tmp;
@@ -50,7 +50,7 @@ static inline unsigned short readw(void __iomem *addr)
50 return (unsigned short) val; 50 return (unsigned short) val;
51} 51}
52 52
53static inline unsigned int readl(void __iomem *addr) 53static inline unsigned int readl(const volatile void __iomem *addr)
54{ 54{
55 unsigned int val; 55 unsigned int val;
56 int tmp; 56 int tmp;