Skip to content

Commit

Permalink
h8300: Add missing include file to asm/io.h
Browse files Browse the repository at this point in the history
h8300 builds fail with

arch/h8300/include/asm/io.h:9:15: error: unknown type name ‘u8’
arch/h8300/include/asm/io.h:15:15: error: unknown type name ‘u16’
arch/h8300/include/asm/io.h:21:15: error: unknown type name ‘u32’

and many related errors.

Fixes: 23c82d41bdf4 ("kexec-allow-architectures-to-override-boot-mapping-fix")
Cc: Andrew Morton <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
  • Loading branch information
groeck committed Aug 13, 2016
1 parent 783011b commit 2b05980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/h8300/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#ifdef __KERNEL__

#include <linux/types.h>

/* H8/300 internal I/O functions */

#define __raw_readb __raw_readb
Expand Down

0 comments on commit 2b05980

Please sign in to comment.