From patchwork Fri Oct 9 13:46:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 7361791 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EF2569F65E for ; Fri, 9 Oct 2015 13:47:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 15A7520848 for ; Fri, 9 Oct 2015 13:47:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 48C7120829 for ; Fri, 9 Oct 2015 13:47:06 +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 1ZkY0m-0005gr-6S; Fri, 09 Oct 2015 13:47:04 +0000 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZkY0Q-00055i-2A; Fri, 09 Oct 2015 13:46:44 +0000 Received: by wiclk2 with SMTP id lk2so67986771wic.1; Fri, 09 Oct 2015 06:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=cquUt34CogGn6xDcNG9OqUKT9gs7YyN4PXn4mnEZiFk=; b=XCMrQXbeyRCZq7p9iT62JWwyfTkvQkTS5S+LPbkb1aiHbZeuWSVAGug853Qr3iH5fK NkBT8sdN9Jxe0wymvuL8lBVR2UN9qbOgMdcDcicD6feBobQoOY/dtVKVsDPUDP11Z68t UBqu03qn5X5YQ4+0SZ8C5LFACQWMeSzVc4tiEEZ0nFeMRgLu7u6srTV6wcilyel3kUZu Lg/lGQ6MZRQDMik+16s3uGquQtUvHseBQHPldu8YtcsLLRq2utxQvCifiQAKlLEVBCoc RpFMVVxk7kY1M3Z4WQiBUs+c0jaEoZNqjHXXIOeICAmxTAe+kAFtu2Gxj2e7XsTJa7s8 0RVw== X-Received: by 10.194.5.135 with SMTP id s7mr16928075wjs.153.1444398380049; Fri, 09 Oct 2015 06:46:20 -0700 (PDT) Received: from localhost (port-12193.pppoe.wtnet.de. [84.46.47.208]) by smtp.gmail.com with ESMTPSA id ew2sm2846328wic.20.2015.10.09.06.46.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Oct 2015 06:46:19 -0700 (PDT) From: Thierry Reding To: Heiko Stuebner Subject: [PATCH] soc/rockchip: Restrict to ARCH_ROCKCHIP Date: Fri, 9 Oct 2015 15:46:18 +0200 Message-Id: <1444398378-24974-1-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.5.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151009_064642_413513_49BD5FE6 X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Thierry Reding By definition this directory contains drivers that are specific to the Rockchip architecture. All Kconfig options should therefore depend on ARCH_ROCKCHIP to avoid exposing these symbols on other architectures. For example, this options currently shows up as new when doing an incremental build on PowerPC. Signed-off-by: Thierry Reding --- drivers/soc/rockchip/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index 6ee03994801c..d09b5ede7deb 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -1,3 +1,5 @@ +if ARCH_ROCKCHIP + # # Rockchip Soc drivers # @@ -12,3 +14,5 @@ config ROCKCHIP_PM_DOMAINS mode. The RK3288 PMU is dedicated for managing the power of the whole chip. If unsure, say N. + +endif