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: 117832 Delivered-To: patch@linaro.org Received: by 10.80.245.45 with SMTP id t42csp2304958edm; Thu, 2 Nov 2017 09:50:16 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SimcqcMOuvCzX1TyVkIaUV0qGojc/0XEq252E+KuZS4t1u9BqQxU0lt+NH9lH1XqkxVKSA X-Received: by 10.159.216.130 with SMTP id s2mr3804137plp.347.1509641416228; Thu, 02 Nov 2017 09:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509641416; cv=none; d=google.com; s=arc-20160816; b=X/X5Fzs2hIxyahq880auSX8DJcvxWp0oEsBvKCT1hTzCB7Ld3lI2MWWBlW8pS3eb/n KfUnIXTtlbbaJgXeqe/G8W8D/P6sp61SYMWOl3wznPgYZ1H0dhTTlc/JVoAQk15iCbYX 1ogCA8QGHDQkK1T+3Tox0p2q1ggab6V4oiMAOLiSKeV/TiB/LZ82sRc6npuap7+VHQHv zg0m/9MFJIMTtZ9KaCEdj5zzPBKLRmoSBFG8XGKYtg20AefS6TZ42MxpDA/s38r8B5p8 TDPqSDY8Dik8MzIQkrxmE0+KN6UxPPVbz51+l/+U0sW24goRScT+063NBSysp/0AKLsK ftkw== 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=DKM7vqyL1DZ+81OIBcMmfaYoGLhCA/TQKrCNPM9kHJ4=; b=bkvJuav9+hqQGw49ruUO3BPtQLzMusJWthpjxgpV+nUPeStRsaA3H/uz0Ha/qelC4r HMqmC22ECFC6Ihe+jkCK0EHhgm21GD4MROgxo+ox+YjXeG+BeAWHC0l5FKtZ0CsVgu3S f0aCMXCCASVCvQFSK1AvPUEotSZ/StM2ySvIyaoazfMQuC9fBwvgWaNSfGf/CT7f9Gu2 eDaFDK+vmb2EXLBwMxc5N3ZrJM9r9kk2Tu1HOKQ8Bf+1WjmCBbjN5ByPGVLUWy9r3V6Y YrUGQSGNPGWSTW4oR8EMC9ORxO1OxY7croSpllG3Gkzog4HOZxojkLfN/8FBKUii+uaB amvg== 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 u131si3975424pgc.272.2017.11.02.09.50.15; Thu, 02 Nov 2017 09:50:16 -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 S934216AbdKBQuN (ORCPT + 26 others); Thu, 2 Nov 2017 12:50:13 -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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.9.0 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