From patchwork Fri Aug 17 09:51:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 144457 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp561914ljj; Fri, 17 Aug 2018 02:52:13 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx161BOOnxhQCHkcpcbvfmVTR6UOdDTkEiF60vaCN1n6kJ2p2B4Ia157ZSIAlA2tg8IYHCx X-Received: by 2002:a17:902:9883:: with SMTP id s3-v6mr32839610plp.194.1534499533070; Fri, 17 Aug 2018 02:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534499533; cv=none; d=google.com; s=arc-20160816; b=l8/EXWaMyIdMrPFFPNNplObWK+O9WBtBFXAh4t25A5LM7Y4d7ICyA3kPY60p16yXrc UHSuy2yEHQ1h1+KqNQjbevXjd/4zlJUIawa5SmaEYt4wXvyKosUIfK44ZaPM62+yWwvn yTIWNEVEkF9Gs5LBuy4U5ELnbIAc8LPjeES9EUmi9W6BXgAQEYofpMFo2Z+f5iWpMl7W Qb44cK6J/0ZTCh53DzhujokOFmLXkSUix63wjTK/3zFesJYE2lVdh744ZhpJ5QOQESuA LSJ/19khNY9j1MK21uz3LxaAj7mEJZfmKNFKa1RuSlkBSPqH7yR+eSxzq7PVqplJ/700 0TXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=zmkedIWNcyWQAxRV9vR6CFLnHM9I9dTvA/7LLoCarQo=; b=Wz310SUBmnmLxTae+/n66PgAqc9hOm90sMKQ5KEXiNcWle9Fu7zQDr6OphxfFhx2NI dQY+SLn2rxzENxGta491WyFwFudErxWknX+ukZmlTfOFl/bMc537BJN45vVKvFROK3mf 6UtmkjpCcAv52ekXciM9WA+zpFM/jcT3AG8o6VI+3GtBy8nl1qQsF0wqPsEYGFKkWTT2 qctzO3WxfAt5RgBGZV9JSDe0See0vtz2z0pt+9J+fxgKegjSyY2qhaMmRBx/Ag6VFgXU g22xiUbyQwGq26K4JKiyAVGG1351/khM9QLVF9nUHUhae8EsSi+p+hgltHQBGo/t9USb 8PmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n14-v6si1529127pgg.216.2018.08.17.02.52.12; Fri, 17 Aug 2018 02:52:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726808AbeHQMy4 (ORCPT + 32 others); Fri, 17 Aug 2018 08:54:56 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:57658 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726587AbeHQMyz (ORCPT ); Fri, 17 Aug 2018 08:54:55 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lsdqf-1g1pnj24OP-012Fgn; Fri, 17 Aug 2018 11:51:34 +0200 From: Arnd Bergmann 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 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> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:LU0X5+N1ghY9y0T+uBjYKkxVbWEUM48HmYE19ebNfA9wGEzRvxh 3RsBExFvuJECoV5LYHbvigYrcZQ7/gzhhDn7OIKSxUNF4GTMBIIL+US6ICbHb+FB/KTaCMZ E31Q+5WwTYYnTziQxE+mmiCq5PYCYZWgMPfQ0rmZ88kPSRK0m9Uly7gsCrFRYaAG1oVo6Fo vWkzrx5sSkvLZM3ii2V2A== X-UI-Out-Filterresults: notjunk:1; V01:K0:WfcevEyDoYc=:ok9H6paFRf4PzNk2BnO+x2 CQrSrciLm33/bjNTdW56dA2d1JBtQ42Om9XSKK69x+GRm9N13M2pPJ1S84M9pdn0KDiY5uGEq LCNGFygNKXYxZ2xeUZeyNorBi4gBzwnm98ruNYdU80OcKbE6A7aAH6wDwRat8z61LVUDh5J2c tQQ8k1RxGBuyedzHxcHdCflBYDqHmEl3sQFxQxGqCOdQZS5ZG5z4y1/nrD73DKrugfP0r9phK AuSqLs3qJgqfzJBKalqG0bJJu85soD7Hw3psOxajphXc0k+XwknNe3MA72fZA8jeEkL2borWB lwtcC0c5qGMJQVdFjm9P8SUAwgxxHb4iMjJX2sRF4gk3bhkn23kzYs270aUbj6IHneXzxjssA HkEj66o8H8eu15TP6wzFjxHUvt6Ovk90AsMJiWpd0qTuM02RlwyNbNOdmxUDs28g4GYZkNfF1 SiZ2w/DYj2X1xGBsOoAtJ5OfKBACutjh8ekwCFFQ5zZsvgstq9U3ZykeLVHa6lX5ImIyIPxIR d7bc+SLOfgvnNtEc5sA37AuhdlgDOqWi1AF6iJwsT/vFZqnvnte+fFtJyLb75N0ZnzaRMvYfK pARA/0khll3UApl/hh67IBuzCHfW40jT2fqervF5gHqnYvW5YehX2/SNJsW9jLjsVMCSohdbb FHWpF6D1wHL9OI1uKklp31nkh+2AgX+LO7xZxgmt1UqPb/ewFqWWv4UAIb+8t6ElPZYw= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) -- 2.18.0 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