From patchwork Thu Nov 2 16:49:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10038991 X-Patchwork-Delegate: dvhart@infradead.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DD264603B5 for ; Thu, 2 Nov 2017 16:50:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDF9D2918C for ; Thu, 2 Nov 2017 16:50:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFE7A291E6; Thu, 2 Nov 2017 16:50:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4026E2918C for ; Thu, 2 Nov 2017 16:50:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933567AbdKBQuM (ORCPT ); Thu, 2 Nov 2017 12:50:12 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:58701 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932475AbdKBQuL (ORCPT ); Thu, 2 Nov 2017 12:50:11 -0400 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0MNhBG-1e3A5K2pp4-007H1k; Thu, 02 Nov 2017 17:49:36 +0100 From: Arnd Bergmann To: Souvik Kumar Chakravarty , Darren Hart , Andy Shevchenko Cc: Arnd Bergmann , Rajneesh Bhardwaj , Shanth Murthy , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86: intel_telemetry: add back linux/io.h inclusion Date: Thu, 2 Nov 2017 17:49:27 +0100 Message-Id: <20171102164933.110292-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:ybevqie6vhgTzTSW3OKgHkd6V0z67vNqrxs2rLYyy78P63seEuu ihrsgQ6aZTZsz4fgSQXH7/IwQVh5CiDMaj7IzBbE44kabMf+TSxKnGXE1rIOHjKFf4KJj77 LLh3Atc8VlAFNEMnwXev4D/CmmOfOXLpwTh1p68PRhbFnIzT0p3PgiO9aCoRh0wwQ+eraV4 sbXwBAH2oM0MH4kdOVfDQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:fjNtgP7fKbw=:RtiPyftX8rGi56QhfW0uex gLCcZP+RKvdbrbagRgl1RtrQy1nb1SzDhvP9ASht/3TsWYgrIZskQyTrRIZo5jrvIFoQKrIkn CEnWCCD8ZpxowRlZnHE31GX/qaaLIOyi1COILxfUF/odPoc1RhpfXJ3e2S9dlIRusYE7RftAp HKGTtv+bMJk0RR9cB7Ck1lzNBLeKl8hlL/4q0vTlhKxkLb9SarBVkYULvojMkwdJQBOTlRCIE pgS7Zbs8w+zRyDa+wDMFhuSrxvQP5ZXiXjxbZtElO8TSmdTBqUoLSTy7oRmsxII0wvUHuYkwZ sHYgoFdqGLxxZxZUgM7/b61lI/0co/i+4wmbsdsYokfYAhdYTi2NWy6rwUiCWOCE0uhAZCSz2 7ohiQLdEH0j2BkM2Himv8XOzTk07dEXYjKXrD5UbtyX1N5/DxJd3d7Hqb1/I9wtX4VTf3ancI 6/QJOGnjEft+99JaCHu8YwpNRHALkdu7Nu9lqPVIUgKINqTBX/qyMOEwSaqkXqnPGAZvlRcfd eWYMonDA4t+sVhEl59Gw37pfPldbU1s7U+66TiBdQZHdbAxWHxyV2clI9JIPueENchFnehx+e rOtq+DpHl11kyfvbsRshhL0kTgVAghMtoieLZ2MkP9NQcoMoX2HVlLoMjdZ8LRQhIG53w1ZmV 3niEmix+tgywl6r0Tmc5Uw1Aa9NsXeg58q6SDy7imfbyHUW9YdqdGbz8W6MNEPSzldvbc13V1 yZt/cZdfQqisR4Qtha0Pvr1o/p3fknZjsbLUTA== Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This one wasn't redundant after all, as shown by this randconfig build error: drivers/platform/x86/intel_telemetry_pltdrv.c: In function 'telem_evtlog_read': drivers/platform/x86/intel_telemetry_pltdrv.c:900:20: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration] We should generally include exactly the set of headers that declare the interfaces we use, so this adds back the missing include to get it to compile again. Fixes: a5e50220edbd ("platform/x86: intel_telemetry: cleanup redundant headers") Signed-off-by: Arnd Bergmann --- drivers/platform/x86/intel_telemetry_pltdrv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/intel_telemetry_pltdrv.c b/drivers/platform/x86/intel_telemetry_pltdrv.c index 678abf2e9e92..45f790a22ca2 100644 --- a/drivers/platform/x86/intel_telemetry_pltdrv.c +++ b/drivers/platform/x86/intel_telemetry_pltdrv.c @@ -16,6 +16,7 @@ * It used the PUNIT and PMC IPC interfaces for configuring the counters. * The accumulated results are fetched from SRAM. */ +#include #include #include