diff options
author | Thorsten Glaser <tg@debian.org> | 2010-10-03 14:48:51 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-10-22 03:43:25 -0400 |
commit | 779b7e64b536ff65bcd40c0292871d2bb9b6d6e5 (patch) | |
tree | 6e3c2f99ba926705f87ef4c772ce79d7a5f65224 /arch | |
parent | 2f81a18446c3061b74f4770eb95adeba2a864b0f (diff) |
m68k: Add missing I/O macros {in,out}{w,l}_p() for !CONFIG_ISA
On m68k, I/O macros like inb() outw() etc. are only defined to
something useful if CONFIG_ISA is set; dummies are in place if
not, but four macros were missing from the !CONFIG_ISA case.
Adding these makes some drivers, such as speakup, compile again.
Signed-off-by: Thorsten Glaser <tg@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68k/include/asm/io_mm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/io_mm.h b/arch/m68k/include/asm/io_mm.h index 125cb60a2df9..0fb3468000e7 100644 --- a/arch/m68k/include/asm/io_mm.h +++ b/arch/m68k/include/asm/io_mm.h | |||
@@ -250,9 +250,13 @@ static inline void isa_delay(void) | |||
250 | #define outb(val,port) ((void)0) | 250 | #define outb(val,port) ((void)0) |
251 | #define outb_p(val,port) ((void)0) | 251 | #define outb_p(val,port) ((void)0) |
252 | #define inw(port) 0xffff | 252 | #define inw(port) 0xffff |
253 | #define inw_p(port) 0xffff | ||
253 | #define outw(val,port) ((void)0) | 254 | #define outw(val,port) ((void)0) |
255 | #define outw_p(val,port) ((void)0) | ||
254 | #define inl(port) 0xffffffffUL | 256 | #define inl(port) 0xffffffffUL |
257 | #define inl_p(port) 0xffffffffUL | ||
255 | #define outl(val,port) ((void)0) | 258 | #define outl(val,port) ((void)0) |
259 | #define outl_p(val,port) ((void)0) | ||
256 | 260 | ||
257 | #define insb(port,buf,nr) ((void)0) | 261 | #define insb(port,buf,nr) ((void)0) |
258 | #define outsb(port,buf,nr) ((void)0) | 262 | #define outsb(port,buf,nr) ((void)0) |