From patchwork Fri Sep 25 16:38:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 54171 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 58A6B22B1E for ; Fri, 25 Sep 2015 16:39:05 +0000 (UTC) Received: by wisv5 with SMTP id v5sf10809884wis.0 for ; Fri, 25 Sep 2015 09:39:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=4FmEMxHfXa+HmaDtqegEUbJjl/Ktiw0oCHKlQv3Rw0M=; b=iWF3Rz/DGPtWoXFfKASZRxsdvngnLQqJ1qw/WCZG+byhyDk0z5UhKwj+y0k/IywDT9 RqmKQvbihlW7tGuHoSGzXeqziBTgHIaXQ2zXEFQAKiT3cFfQKFl7zkR6KBR6urJCcc06 qlNu1zv2i8Lo+o4GUpItbXiwhDWytJGMn2OqKdaUlXFnbt7lWPSUDgCygXtx8ok/a14D 3tLBTlcY9EcmgkBT2MWnNPuLPjpnzX27crxcYek69oFEyE+iqMLV0iu8xKPK5DOWPDjl e/gQ9RVNkNHYCLSgAReg3iilJu3ecjoQfkcHaoyU8C+5d9wy5QC0jrojhCUEZb5j8pwz jRxw== X-Gm-Message-State: ALoCoQku8v1mauOVRzw7qNh8+BZ1r/NnE/2+1yCmS+Wuqpb2Zz20EHESp/AqZzrc9Sp6VzsIhpuU X-Received: by 10.194.115.135 with SMTP id jo7mr1085428wjb.7.1443199144654; Fri, 25 Sep 2015 09:39:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.199 with SMTP id x7ls175841lae.33.gmail; Fri, 25 Sep 2015 09:39:04 -0700 (PDT) X-Received: by 10.112.137.105 with SMTP id qh9mr1983258lbb.54.1443199144472; Fri, 25 Sep 2015 09:39:04 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id t12si2057583lfe.101.2015.09.25.09.39.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Sep 2015 09:39:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lacrr8 with SMTP id rr8so25209096lac.2 for ; Fri, 25 Sep 2015 09:39:04 -0700 (PDT) X-Received: by 10.25.77.133 with SMTP id a127mr1287042lfb.19.1443199144336; Fri, 25 Sep 2015 09:39:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp154664lbq; Fri, 25 Sep 2015 09:39:03 -0700 (PDT) X-Received: by 10.68.234.200 with SMTP id ug8mr8481242pbc.13.1443199143255; Fri, 25 Sep 2015 09:39:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id as4si6737052pbd.0.2015.09.25.09.38.54; Fri, 25 Sep 2015 09:39:03 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932617AbbIYQiw (ORCPT + 30 others); Fri, 25 Sep 2015 12:38:52 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:35946 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756438AbbIYQiv (ORCPT ); Fri, 25 Sep 2015 12:38:51 -0400 Received: by pablk4 with SMTP id lk4so13365938pab.3 for ; Fri, 25 Sep 2015 09:38:50 -0700 (PDT) X-Received: by 10.68.194.73 with SMTP id hu9mr8647912pbc.146.1443199130523; Fri, 25 Sep 2015 09:38:50 -0700 (PDT) Received: from localhost.localdomain ([70.35.39.2]) by smtp.gmail.com with ESMTPSA id gt1sm4798862pbc.10.2015.09.25.09.38.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 25 Sep 2015 09:38:49 -0700 (PDT) From: Lee Jones To: linux-kernel@vger.kernel.org Cc: rdunlap@infradead.org, qipeng.zha@intel.com, dvhart@infradead.org, platform-driver-x86@vger.kernel.org, Lee Jones Subject: [PATCH] platform: x86: PMC IPC depends on ACPI Date: Fri, 25 Sep 2015 17:38:43 +0100 Message-Id: <1443199123-13979-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch solves: on x86_64: when CONFIG_ACPI is not enabled: ../drivers/mfd/intel_soc_pmic_bxtwc.c: In function 'bxtwc_probe': ../drivers/mfd/intel_soc_pmic_bxtwc.c:342:2: error: implicit declaration of function 'acpi_evaluate_integer' [-Werror=implicit-function-declaration] status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv); ^ Reported-by: Randy Dunlap Signed-off-by: Lee Jones Acked-by: Randy Dunlap Acked-by: Darren Hart --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index c69bb70..744cb80 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -914,6 +914,7 @@ config PVPANIC config INTEL_PMC_IPC tristate "Intel PMC IPC Driver" + depends on ACPI ---help--- This driver provides support for PMC control on some Intel platforms. The PMC is an ARC processor which defines IPC commands for communication