[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    nds32: Fix the unknown type u8 issue.
From:       "Linux Kernel Mailing List" <linux-kernel () vger ! kernel ! org>
Date:       2018-05-28 12:29:32
Message-ID: 20180528122932.33D6521B2E () pdx-korg-gitolite-1 ! ci ! codeaurora ! org
[Download RAW message or body]

Web:        https://git.kernel.org/torvalds/c/bb912671e36552e11352a6b749dcf68b0df6ad01
Commit:     bb912671e36552e11352a6b749dcf68b0df6ad01
Parent:     e3f4624388731eb475ef7494b43440b3ad9269e1
Refname:    refs/heads/master
Author:     Greentime Hu <greentime@andestech.com>
AuthorDate: Thu Apr 19 15:59:38 2018 +0800
Committer:  Greentime Hu <greentime@andestech.com>
CommitDate: Wed May 23 13:26:21 2018 +0800

    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>
---
 arch/nds32/include/asm/io.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h
index 966e71b3c960..71cd226d6863 100644
--- a/arch/nds32/include/asm/io.h
+++ b/arch/nds32/include/asm/io.h
@@ -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)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic