Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp716568imm; Thu, 13 Sep 2018 06:45:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbbV6XMqsRlHtJxkAt0eEl2pYyinbTkiE0ZxHGm0z/Ep46wp7lxIeBoYVWRhIeYO5c3SNHD X-Received: by 2002:a63:ab0c:: with SMTP id p12-v6mr7459593pgf.190.1536846314261; Thu, 13 Sep 2018 06:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536846314; cv=none; d=google.com; s=arc-20160816; b=ZzNNhppvIFnGWza5OjWgpju+nWulVwMC4DYweSLcVtQJ50WnesokOk4rGKCKKSkPsH rzf152j5KZdUFFGQszkLO0qznjIeek5af8Obubbodgu3sYxtNR4ZJ8EHTSODc8gwskuP 6rM7YoWl+znem+eFAMlhZZirKsnEtQdrkFgMGf7omYTETeDGdBw3ynVAwzz30HTrZzsv bxCJ/49WK7+2WPApaM31HI6ymOe+1SwS48uprwBgxGYd6T39oSsniITDAoBOMAnhijeG NN83SygUfmigYfq8dR7TbZ+ARKWjalcebtj+CJ6XLvDhlHOGOoJb1Dc5SwkXueTnPCIR Dkgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=WcUPT+BmGbLcVnxyw/RrxRLWtrZqylf0LEPwDvBJXIE=; b=GI+glY3Xz55RrggtcHk68bH0o5hgXxQfnu9QG5cqptJeZyUpJdWkMAFWAN6WRqz53s YQNFhRSNMsWs+yJR09SMI/s03QRYwDrExL1QzuU82ssRcrz6vRYsekXOAuywRZ1pmUlx SyzOx3DDgqTUFBYD1kd9kYqLHy0EdShpYbyjx5LaKRZOtt8urHi+ExEP+x6aAqJGEbIY 7v+Iyz0f93qbioUHJrmtZFnu1EMWZuAtZlAvZBT7OkaX8PxgqdDkecPUHiadrG7ifn1r 4rcabnqL71JB1wBuyMjpKScOPkEOnCM1OK9dilN5c8SDQjYcG15US9AqCMtGBECJkOFi QjSw== 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 n1-v6si3969913pld.429.2018.09.13.06.44.59; Thu, 13 Sep 2018 06:45:14 -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 S1729885AbeIMSxK (ORCPT + 99 others); Thu, 13 Sep 2018 14:53:10 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60378 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729312AbeIMSxK (ORCPT ); Thu, 13 Sep 2018 14:53:10 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C929CCF3; Thu, 13 Sep 2018 13:43:37 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Zha Qipeng , platform-driver-x86@vger.kernel.org, Andy Shevchenko , Sasha Levin Subject: [PATCH 4.14 037/115] platform/x86: intel_punit_ipc: fix build errors Date: Thu, 13 Sep 2018 15:30:57 +0200 Message-Id: <20180913131825.993778835@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131823.327472833@linuxfoundation.org> References: <20180913131823.327472833@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Randy Dunlap [ Upstream commit 340fd4cff43f18bace9358d4decdc9b6ed0715be ] Fix build errors by #including . ../drivers/platform/x86/intel_punit_ipc.c: In function 'ipc_read_status': ../drivers/platform/x86/intel_punit_ipc.c:55:2: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] return readl(ipcdev->base[type][BASE_IFACE]); ../drivers/platform/x86/intel_punit_ipc.c: In function 'ipc_write_cmd': ../drivers/platform/x86/intel_punit_ipc.c:60:2: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration] writel(cmd, ipcdev->base[type][BASE_IFACE]); Fixes: 447ae3166702 ("x86: Don't include linux/irq.h from asm/hardirq.h") Signed-off-by: Randy Dunlap Cc: Zha Qipeng Cc: platform-driver-x86@vger.kernel.org Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/intel_punit_ipc.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/platform/x86/intel_punit_ipc.c +++ b/drivers/platform/x86/intel_punit_ipc.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include