1
0
Fork 0

nds32: Fix the unknown type u8 issue.

It broke the 'allmodconfig' build.
We need to include <linux/types.h> to make sure the type is defined
before using it.

Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
hifive-unleashed-5.1
Greentime Hu 2018-04-19 15:59:38 +08:00
parent e3f4624388
commit bb912671e3
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
#ifndef __ASM_NDS32_IO_H
#define __ASM_NDS32_IO_H
#include <linux/types.h>
extern void iounmap(volatile void __iomem *addr);
#define __raw_writeb __raw_writeb
static inline void __raw_writeb(u8 val, volatile void __iomem *addr)