Skip to content

Commit 779b7e6

Browse files
mirabilosgeertu
authored andcommitted
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>
1 parent 2f81a18 commit 779b7e6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎arch/m68k/include/asm/io_mm.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,13 @@ static inline void isa_delay(void)
250250
#define outb(val,port) ((void)0)
251251
#define outb_p(val,port) ((void)0)
252252
#define inw(port) 0xffff
253+
#define inw_p(port) 0xffff
253254
#define outw(val,port) ((void)0)
255+
#define outw_p(val,port) ((void)0)
254256
#define inl(port) 0xffffffffUL
257+
#define inl_p(port) 0xffffffffUL
255258
#define outl(val,port) ((void)0)
259+
#define outl_p(val,port) ((void)0)
256260

257261
#define insb(port,buf,nr) ((void)0)
258262
#define outsb(port,buf,nr) ((void)0)

0 commit comments

Comments
 (0)