From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: [PATCH] intel_punit_ipc: include linux/io.h Date: Fri, 17 Aug 2018 11:51:21 +0200 Message-ID: <20180817095131.2557798-1-arnd@arndb.de> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Zha Qipeng , Darren Hart , Andy Shevchenko Cc: Arnd Bergmann , Nicolai Stange , Thomas Gleixner , "Michael S. Tsirkin" , Kuppuswamy Sathyanarayanan , "Lad, Prabhakar" , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: platform-driver-x86.vger.kernel.org After we stop including linux/irq.h implicitly, we don't see linux/io.h in intel_punit_ipc.c, leading to a build failure: drivers/platform/x86/intel_punit_ipc.c: In function 'ipc_read_status': drivers/platform/x86/intel_punit_ipc.c:55:9: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] Add back the include that is clearly needed. Fixes: 447ae3166702 ("x86: Don't include linux/irq.h from asm/hardirq.h") Cc: Nicolai Stange Cc: Thomas Gleixner Signed-off-by: Arnd Bergmann --- drivers/platform/x86/intel_punit_ipc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/intel_punit_ipc.c b/drivers/platform/x86/intel_punit_ipc.c index f1afc0ebbc68..2efeab650345 100644 --- a/drivers/platform/x86/intel_punit_ipc.c +++ b/drivers/platform/x86/intel_punit_ipc.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include -- 2.18.0