From patchwork Wed Jul 2 08:47:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 32957 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f69.google.com (mail-qg0-f69.google.com [209.85.192.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E6FEB20560 for ; Wed, 2 Jul 2014 08:49:02 +0000 (UTC) Received: by mail-qg0-f69.google.com with SMTP id j107sf10642333qga.0 for ; Wed, 02 Jul 2014 01:49:02 -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=NAeyYMvgx2OFEc59MTaruExvQLdPJ7q68sqEg96lUAPFUheKtYepN9SbVd2qo7JIDw GAhAIM4gKReYRv95sFwOeYdeGNUHn8caXfzcU35KGZrtrl+8LC5x8Ir0fPqOpg99VZta yPwbWj3ED1V8A/y2G992zuQ5X/fQCTLZTRicuht9uZV+5lTdmTShJPTdwxLMYheJ8hNN FJm81ZZ3qEweUldrFI75uR8bndXJ48vzhxzaEOqi2oULqlOgDgjWJN4yWXy5DdMn/9Yz wgttm6HdGBJGPR5O/CgACGL4FXZEm0STmHoCugn68yW5qtn9kjr1Me6Ptsmt8qjsKPya XttQ== X-Gm-Message-State: ALoCoQmQMLuXpbA7HWoAjc4wA4/rFWoZbwiWQsP9ciFXB1VI5B1jAoi+C+XLcvzhlK89KI7I5HmO X-Received: by 10.236.175.42 with SMTP id y30mr5629662yhl.42.1404290942805; Wed, 02 Jul 2014 01:49:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.43.74 with SMTP id d68ls2356333qga.12.gmail; Wed, 02 Jul 2014 01:49:02 -0700 (PDT) X-Received: by 10.220.105.136 with SMTP id t8mr48385096vco.13.1404290942723; Wed, 02 Jul 2014 01:49:02 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id zc18si1829645vdb.46.2014.07.02.01.49.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 01:49:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so10039071vcb.17 for ; Wed, 02 Jul 2014 01:49:02 -0700 (PDT) X-Received: by 10.58.188.199 with SMTP id gc7mr44540502vec.4.1404290942653; Wed, 02 Jul 2014 01:49:02 -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 tc5csp277277vcb; Wed, 2 Jul 2014 01:49:02 -0700 (PDT) X-Received: by 10.66.122.208 with SMTP id lu16mr2334913pab.129.1404290941866; Wed, 02 Jul 2014 01:49:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ue9si29569291pac.236.2014.07.02.01.49.01; Wed, 02 Jul 2014 01:49:01 -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 S1752607AbaGBIsv (ORCPT + 27 others); Wed, 2 Jul 2014 04:48:51 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:43846 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752496AbaGBIsr (ORCPT ); Wed, 2 Jul 2014 04:48:47 -0400 Received: by mail-pd0-f172.google.com with SMTP id w10so11663436pde.3 for ; Wed, 02 Jul 2014 01:48:47 -0700 (PDT) X-Received: by 10.66.123.36 with SMTP id lx4mr30309216pab.21.1404290927077; Wed, 02 Jul 2014 01:48:47 -0700 (PDT) Received: from localhost ([183.247.163.231]) by mx.google.com with ESMTPSA id xs2sm127362575pab.0.2014.07.02.01.48.43 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 02 Jul 2014 01:48:46 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: Catalin Marinas , Graeme Gregory , Tony Luck , Thomas Gleixner , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 4/4] ACPI: Make EC debugfs depend on X86 || IA64 in Kconfig Date: Wed, 2 Jul 2014 16:47:26 +0800 Message-Id: <1404290847-7671-5-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404290847-7671-1-git-send-email-hanjun.guo@linaro.org> References: <1404290847-7671-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.172 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