Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=216e39db112da4d25a52aeb956e7da70fdd0d94c Commit: 216e39db112da4d25a52aeb956e7da70fdd0d94c Parent: 334280fff3f7201d0fd564fe85e0a6f035ce3f68 Author: Mike Frysinger <[EMAIL PROTECTED]> AuthorDate: Thu Jun 21 11:34:16 2007 +0800 Committer: Bryan Wu <[EMAIL PROTECTED]> CommitDate: Thu Jun 21 11:34:16 2007 +0800
Blackfin arch: add proper const volatile to addr argument to the read functions Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- include/asm-blackfin/io.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-blackfin/io.h b/include/asm-blackfin/io.h index eac8bca..142cb33 100644 --- a/include/asm-blackfin/io.h +++ b/include/asm-blackfin/io.h @@ -20,7 +20,7 @@ */ #ifndef __ASSEMBLY__ -static inline unsigned char readb(void __iomem *addr) +static inline unsigned char readb(const volatile void __iomem *addr) { unsigned int val; int tmp; @@ -35,7 +35,7 @@ static inline unsigned char readb(void __iomem *addr) return (unsigned char) val; } -static inline unsigned short readw(void __iomem *addr) +static inline unsigned short readw(const volatile void __iomem *addr) { unsigned int val; int tmp; @@ -50,7 +50,7 @@ static inline unsigned short readw(void __iomem *addr) return (unsigned short) val; } -static inline unsigned int readl(void __iomem *addr) +static inline unsigned int readl(const volatile void __iomem *addr) { unsigned int val; int tmp; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html