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: 4464231 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 01148BEEAA for ; Wed, 2 Jul 2014 08:55:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B34A202FE for ; Wed, 2 Jul 2014 08:55:27 +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 1319D202FF for ; Wed, 2 Jul 2014 08:55:26 +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 1X2GHO-0000p5-If; Wed, 02 Jul 2014 08:52:38 +0000 Received: from mail-pd0-f177.google.com ([209.85.192.177]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2GE2-0003hr-1j for linux-arm-kernel@lists.infradead.org; Wed, 02 Jul 2014 08:49:10 +0000 Received: by mail-pd0-f177.google.com with SMTP id y10so11568876pdj.22 for ; Wed, 02 Jul 2014 01:48: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MEtewlD49QCNNy6KElQqJM3e3mkNqJEbDizEpW0nIBk=; b=clguuyZzxGt97IjOmv/DHWEaSeV20hLbPrbO7Ry/HKU29I5vOlEpRyKPMX43jFHM/H 9qRUUswPGlkX2Cfh65301sOl/VQYg6xtDJuIYc6W6oTN3T7L0cf5pp7LoZr8Ni/hTWma KNwAT5PH5yHCw7/cILgnfsQT1724jfq1+HLsU9BzJyxmfI2aJ1leUlS9sW6QTGpncILM d2zeN1JNDpeVp2iZ53k3zR1x6oykE/bUMfSR+YXp38pCdB7yMQ1D0piWhEGxqlFScWKk MfxQy6Djqw7BHSwvP89iT0OktkJygVB+THboZJHDLXg2tj61yU+fOLpcTfL/39i5Al5Q 12og== X-Gm-Message-State: ALoCoQlcfeW8BtIn4HbPtJxCEHWh/40Z45CUpR92G35nZ42CLflOSQ1PfKJyEL9fsQYWErhMrhR8 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" 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140702_014910_113033_976A59D4 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Tony Luck , Graeme Gregory , linaro-acpi@lists.linaro.org, Catalin Marinas , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Hanjun Guo , Thomas Gleixner , linux-arm-kernel@lists.infradead.org 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