Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp727182imm; Thu, 13 Sep 2018 06:54:54 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda2pZNPndz4AE8FagNWM1qUlrhDe9biMgrtSZsw0DETfdfUXz8O2tzm44uCBTlaekN4yw60 X-Received: by 2002:a17:902:bd4a:: with SMTP id b10-v6mr7460958plx.209.1536846893960; Thu, 13 Sep 2018 06:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536846893; cv=none; d=google.com; s=arc-20160816; b=kEfThfDOyUUc0jtYJI2lYo/wr3QnSkS+UQb8Wjgsmabuj5yFCYqn6FMSUJaobf20BK GgXhqRZZXtHCTT7vsoJHFLdZqw1RIeuTKAfvcL/XW8fCnJR1cStkHAJdh1Jumm49a6l9 yQ4+nMXdwNy0hI5eixEbDj/uviful7jTkJzErGCYK98mqbBKAPokhW4yHDO/mzGJclFR mZ6K+7QWKnqn6sC3UwCS3gMdPGc9KQ6kCt5yr8O31jKD9Dju9d4cz8/U+hU0YoNI2qXO zmbeOtKcC6LpLeyEjRmd62E1U5GON+CNFycM6aKEgqQtJGrB9G2FVggzeTV4OhUQwZs6 Gibw== 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=2bbS79BzTBPYSUVddPRASW/MOPMfpigzKGTemZlqHog=; b=ulKHGxvJFXkMZAH6qLEgc0YJRGzSLxXdn8r7W3L+Aw9zy4Ta93zOju7MdUlyBF36Kg DQjI2mU/8R/TZnsSR6hMVN0B1DWQ8XpICPZc//LdKV5ZyUzgvoT6BcLKeeoh7SquzSLm 8dsgG+TZI3s2ayPjqJHTL0v7RMxTIVlHzE5vXdN6dYGhDsMEqPVok9v4t2JpQ+Qa8aF2 hq0s7//WYQp0dsb02otws4g3MWi9MPf0TFfh17GVs0aF6qTIZBnI7oOITOa+J4unMrtE ++EOHeFopO20tDrz3V1l6/leR3DlPZiQQN5ygt+KXTkvz1KbW8ftxalSiEJ0uNDTjhly nBqA== 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 r24-v6si4040304pgo.605.2018.09.13.06.54.39; Thu, 13 Sep 2018 06:54:53 -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 S1731006AbeIMTEI (ORCPT + 99 others); Thu, 13 Sep 2018 15:04:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33842 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727644AbeIMTEH (ORCPT ); Thu, 13 Sep 2018 15:04:07 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id AE98CD19; Thu, 13 Sep 2018 13:54:31 +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.18 062/197] platform/x86: intel_punit_ipc: fix build errors Date: Thu, 13 Sep 2018 15:30:11 +0200 Message-Id: <20180913131844.004580650@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@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.18-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