From patchwork Fri Jun 27 03:49:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 32611 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 62B6E201EF for ; Fri, 27 Jun 2014 03:52:47 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id j17sf25731467oag.0 for ; Thu, 26 Jun 2014 20:52:47 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=f1pUsYA4R2J/owT8OZO9sv6RCJa9YCx0FfI1KlbxqnE=; b=N1kbQyRAddRaVw/L6FqYxWIsB3Gub4r8DcyfIB6tXxlyDoLYUXvL7JFGcpQfXjKOBT JeauJzpEJ7yK/BOazgbDf4u2LSdXFbNVoihuR09UE0BlZti25W/68n68bXSHLsTlRsMv AxYlZHI5UP8cXM2OS2k3nEl1QLJelw2l2r3Zmfba+9lGXPKZdYi2YCbvUM/ujTobBdTX A7UyngFAtqc9LFXtsLP20Irc003tss5aILGhee8YcKeQt8hm4wUBdLqo3/96Q+BNRwDb gvWcJHcxvcNyvcNrcAzedaiUyaYN/E8EgXza+teKKvge8hnGfd3d2Gr9UtQHktTsBuBC Zb4g== X-Gm-Message-State: ALoCoQlLNapbwWXCsrOMk22C+JaPTCS22+v/R+8xFgjTBo1R9Gv3ynGreWlA08IDW5/NaiKytcfK X-Received: by 10.42.85.142 with SMTP id q14mr9826058icl.16.1403841166967; Thu, 26 Jun 2014 20:52:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.107.198 with SMTP id h64ls401743qgf.66.gmail; Thu, 26 Jun 2014 20:52:46 -0700 (PDT) X-Received: by 10.52.23.71 with SMTP id k7mr14670351vdf.27.1403841166860; Thu, 26 Jun 2014 20:52:46 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id vs2si5719329vcb.69.2014.06.26.20.52.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Jun 2014 20:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so4523718vcb.16 for ; Thu, 26 Jun 2014 20:52:46 -0700 (PDT) X-Received: by 10.52.252.4 with SMTP id zo4mr14865331vdc.20.1403841166786; Thu, 26 Jun 2014 20:52:46 -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.221.37.5 with SMTP id tc5csp77084vcb; Thu, 26 Jun 2014 20:52:46 -0700 (PDT) X-Received: by 10.68.133.229 with SMTP id pf5mr27748497pbb.115.1403841166098; Thu, 26 Jun 2014 20:52:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rc6si12427116pab.107.2014.06.26.20.52.45; Thu, 26 Jun 2014 20:52:45 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752893AbaF0Dwk (ORCPT + 27 others); Thu, 26 Jun 2014 23:52:40 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:49716 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752867AbaF0Dwi (ORCPT ); Thu, 26 Jun 2014 23:52:38 -0400 Received: by mail-pa0-f44.google.com with SMTP id rd3so4048314pab.31 for ; Thu, 26 Jun 2014 20:52:38 -0700 (PDT) X-Received: by 10.68.129.99 with SMTP id nv3mr26986149pbb.128.1403841158156; Thu, 26 Jun 2014 20:52:38 -0700 (PDT) Received: from localhost ([183.247.163.231]) by mx.google.com with ESMTPSA id se3sm12298430pbb.80.2014.06.26.20.52.33 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 26 Jun 2014 20:52:37 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" , Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Bjorn Helgaas , rric@kernel.org, Grant Likely , Sudeep Holla , Mark Rutland , Charles.Garcia-Tobin@arm.com, lorenzo.pieralisi@arm.com, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH v4 10/13] ACPI: Make EC debugfs depend on X86 || IA64 in Kconfig Date: Fri, 27 Jun 2014 11:49:33 +0800 Message-Id: <1403840976-7456-11-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1403840976-7456-1-git-send-email-hanjun.guo@linaro.org> References: <1403840976-7456-1-git-send-email-hanjun.guo@linaro.org> 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: hanjun.guo@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.220.171 as permitted sender) smtp.mail=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: , Since EC (Embedded controller) needs SCI for the interupt which is not available on ARM64, make the EC debugfs depend on X86 || IA64 only in the Kconfig file. Reviewed-by: Grant Likely Signed-off-by: Hanjun Guo --- drivers/acpi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 0e6f72d..7de5e3f 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -69,6 +69,7 @@ config ACPI_PROCFS_POWER config ACPI_EC_DEBUGFS tristate "EC read/write access through /sys/kernel/debug/ec" + depends on X86 || IA64 default n help Say N to disable Embedded Controller /sys/kernel/debug interface