aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-01-23 18:52:44 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-23 19:36:50 -0500
commit3fdb38bd1f43eddf4483160544d267a1e4d40e62 (patch)
treec653fb8a798bbfba0388f47b8ed3298b0ac479e9 /arch/cris
parent90804ed61f24712975fa12f8a1fc12cd46ef7d59 (diff)
cris: provide {in,out}[wl]_p()
drivers/staging/comedi/drivers/das6402.c: In function 'intr_handler': drivers/staging/comedi/drivers/das6402.c:164:3: error: implicit declaration of function 'outw_p' [-Werror=implicit-function-declaration] drivers/staging/speakup/speakup_dtlk.c: In function 'synth_probe': drivers/staging/speakup/speakup_dtlk.c:362:2: error: implicit declaration of function 'inw_p' [-Werror=implicit-function-declaration] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Mikael Starvik <starvik@axis.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/include/asm/io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/include/asm/io.h b/arch/cris/include/asm/io.h
index 4353cf239a13..e59dba12ce94 100644
--- a/arch/cris/include/asm/io.h
+++ b/arch/cris/include/asm/io.h
@@ -169,7 +169,11 @@ static inline void outsl(unsigned int port, const void *addr,
169} 169}
170 170
171#define inb_p(port) inb(port) 171#define inb_p(port) inb(port)
172#define inw_p(port) inw(port)
173#define inl_p(port) inl(port)
172#define outb_p(val, port) outb((val), (port)) 174#define outb_p(val, port) outb((val), (port))
175#define outw_p(val, port) outw((val), (port))
176#define outl_p(val, port) outl((val), (port))
173 177
174/* 178/*
175 * Convert a physical pointer to a virtual kernel pointer for /dev/mem 179 * Convert a physical pointer to a virtual kernel pointer for /dev/mem