From patchwork Tue Nov 22 17:43:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9441727 X-Patchwork-Delegate: sboyd@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 16A9860237 for ; Tue, 22 Nov 2016 17:44:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DB0E28589 for ; Tue, 22 Nov 2016 17:44:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 022A528593; Tue, 22 Nov 2016 17:44:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A43C328589 for ; Tue, 22 Nov 2016 17:44:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932856AbcKVRns (ORCPT ); Tue, 22 Nov 2016 12:43:48 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:32806 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932775AbcKVRno (ORCPT ); Tue, 22 Nov 2016 12:43:44 -0500 Received: by mail-pg0-f66.google.com with SMTP id 3so2667530pgd.0; Tue, 22 Nov 2016 09:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=mAoRxo3vrAWdPA6p5BrUrbhRZFbTlJPWGsBblVdr0QA=; b=sTYQcwaH4Mzx15lj+ZYNucxuiv2CiaB8xPZMyV0uXxo7NnU6Qq1PTNqG2fjkMN5Xg/ DehGNsYxhvCVXha81Kog3uzWmB11DtbJcgxEQ1IUsDEVQU5dT+dapLXG4Bmh4MX1Ii+u mpWenXHRrUETkWG8Sbgu7teA9+ERA5X8SwMX423NYnl/jlzW7WAj0m+4iA/OjtHcLxh+ kj+sz5n8Q3m2oJdG07zKibZiOia+/34N5ItQj8Sz4fjVsonx3vFTBkFYdnM3uddqLWgJ przsTPIVIijjEL8iHblwtt+BclLUDInHbb6SVitjrtXj6eut8aUvmDDh0f69KxE3Yvt9 aqLg== 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; bh=mAoRxo3vrAWdPA6p5BrUrbhRZFbTlJPWGsBblVdr0QA=; b=aNsfQHEVF/t43IkEtznRwNj1OavSvCAEjPRyZc1ZIttmnsCkcWTutsMhiUBPxg4Fd7 n9InJCaE7PoHKupRpjfisx7xiORthGDISUNNTtGLBX6h9AvmZYU6xcz6ZilvoGaAsyfa e0f9rx1CM0ngfDji9YWqOtwzN8GFPlKUcJKoxcbqylxBp3I5oj+mlWAkhhM/n28xSibe rrwAtZ3F5aADtFN0aOupOuYto/6Fc3B6KUIEJsjuic+xHUDeBCiadUxms/SbVTN0FVnx 3LBsp7pIdi97Co/0VoBiIhmm2b0yBqIj55Q6itYJCyQi3cW8ZgjU5Uf76HXke+78wFyp aOlg== X-Gm-Message-State: AKaTC024crg3pTOp0x2G5myUlTkXy3eIOM9emSqLDj3aGwwnPB8TgrWmcXgijwjVd4nH5g== X-Received: by 10.84.217.222 with SMTP id d30mr1917194plj.92.1479836623840; Tue, 22 Nov 2016 09:43:43 -0800 (PST) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id a24sm30644233pfh.57.2016.11.22.09.43.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 09:43:43 -0800 (PST) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Michael Turquette , Stephen Boyd , Jon Mason , linux-clk@vger.kernel.org (open list:COMMON CLK FRAMEWORK) Subject: [PATCH] clk: bcm: Fix unmet Kconfig dependencies for CLK_BCM_63XX Date: Tue, 22 Nov 2016 09:43:27 -0800 Message-Id: <20161122174329.11592-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With commit f4e871509959 ("clk: iproc: Make clocks visible options"), COMMON_CLK_IPROC gained a dependency on ARCH_BCM_IPROC, yet CLK_BCM_63XX also selects that option, this causes the following Kconfig warning: warning: (CLK_BCM_63XX) selects COMMON_CLK_IPROC which has unmet direct dependencies ((ARCH_BCM_IPROC || COMPILE_TEST) && COMMON_CLK) Fix this by adding proper depends/default for COMMON_CLK_IPROC Fixes: f4e871509959 ("clk: iproc: Make clocks visible options") Signed-off-by: Florian Fainelli Reviewed-by: Ray Jui --- drivers/clk/bcm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig index f21e9b7afd1a..80de9fc2e833 100644 --- a/drivers/clk/bcm/Kconfig +++ b/drivers/clk/bcm/Kconfig @@ -20,9 +20,9 @@ config CLK_BCM_KONA config COMMON_CLK_IPROC bool "Broadcom iProc clock support" - depends on ARCH_BCM_IPROC || COMPILE_TEST + depends on ARCH_BCM_IPROC || ARCH_BCM_63XX || COMPILE_TEST depends on COMMON_CLK - default ARCH_BCM_IPROC + default ARCH_BCM_IPROC || ARCH_BCM_63XX help Enable common clock framework support for Broadcom SoCs based on the iProc architecture