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: 4433331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 93F429F319 for ; Fri, 27 Jun 2014 03:55:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9600201EF for ; Fri, 27 Jun 2014 03:55:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2360F201C0 for ; Fri, 27 Jun 2014 03:55:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0NEa-0006Ro-7X; Fri, 27 Jun 2014 03:53:56 +0000 Received: from mail-pa0-f42.google.com ([209.85.220.42]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X0NDf-00056x-WF for linux-arm-kernel@lists.infradead.org; Fri, 27 Jun 2014 03:53:00 +0000 Received: by mail-pa0-f42.google.com with SMTP id lj1so4063853pab.1 for ; Thu, 26 Jun 2014 20:52:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MEtewlD49QCNNy6KElQqJM3e3mkNqJEbDizEpW0nIBk=; b=jcS5mFjvGMa4bqAhSYSmg2Kztmses26CM/q0X6FCZ7zxwynDw6NK8JJueTedxXcaGF ZUDk7zt/Mtnmi7kyOR+/Q9R8uRl+ghf1pTNa2ucM8q4OTJPm5oOIpr+kE5ypIqf54W8B hpZfTm6wxFbxP7DCxvEr87hsDI17oBMHvVWh0Xjjrj+ECXI7UetiKvrY4WSRiOSCdiWf LnI0dAgIeWpvN0HEhv2nbhmgVbCrGYy1T3RYqR9+ajpINwGJC0MosZDag/hXsklAnKJ/ FzX3zdbxN9TJG9RSHOKnZaIWAAbdRV6wOjDXMXzP0pypgwRqU4G6CDTZbYfQ0ePFnRYW 3IwQ== X-Gm-Message-State: ALoCoQljCrI80R9Aqx9R6tfYimR35/y9SUHGl6X1McaXNi/S+5jiV2I65HfCZCQh341DZ3yCg1gY 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140626_205300_125029_F24B87C9 X-CRM114-Status: GOOD ( 10.21 ) X-Spam-Score: -0.7 (/) Cc: Mark Rutland , lorenzo.pieralisi@arm.com, rric@kernel.org, Arnd Bergmann , linaro-acpi@lists.linaro.org, linux-kernel@vger.kernel.org, Grant Likely , Hanjun Guo , Sudeep Holla , Bjorn Helgaas , Charles.Garcia-Tobin@arm.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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