From patchwork Fri Oct 14 12:44:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9376705 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 7FC1A60779 for ; Fri, 14 Oct 2016 12:44:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70FEF2A66F for ; Fri, 14 Oct 2016 12:44:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64EC82A672; Fri, 14 Oct 2016 12:44:20 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 E68782A66F for ; Fri, 14 Oct 2016 12:44:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752077AbcJNMoS (ORCPT ); Fri, 14 Oct 2016 08:44:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:53284 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752013AbcJNMoS (ORCPT ); Fri, 14 Oct 2016 08:44:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 75681AC02; Fri, 14 Oct 2016 12:44:16 +0000 (UTC) Date: Fri, 14 Oct 2016 14:44:13 +0200 From: Jean Delvare To: linux-clk@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: Shunli Wang , James Liao , Erin Lo , Matthias Brugger , Stephen Boyd , Michael Turquette Subject: [PATCH] clk: mediatek: Add hardware dependency Message-ID: <20161014144413.1f0225b5@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 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 Only propose the mediatek clock drivers on this platform, unless build-testing. Signed-off-by: Jean Delvare Cc: Shunli Wang Cc: James Liao Cc: Erin Lo Cc: Matthias Brugger Cc: Stephen Boyd Cc: Michael Turquette Reviewed-by: Matthias Brugger --- drivers/clk/mediatek/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- linux-4.9-rc0.orig/drivers/clk/mediatek/Kconfig 2016-10-13 11:39:40.416106971 +0200 +++ linux-4.9-rc0/drivers/clk/mediatek/Kconfig 2016-10-14 14:37:48.319588483 +0200 @@ -8,6 +8,7 @@ config COMMON_CLK_MEDIATEK config COMMON_CLK_MT8135 bool "Clock driver for Mediatek MT8135" + depends on ARCH_MEDIATEK || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK ---help--- @@ -15,6 +16,7 @@ config COMMON_CLK_MT8135 config COMMON_CLK_MT8173 bool "Clock driver for Mediatek MT8173" + depends on ARCH_MEDIATEK || COMPILE_TEST select COMMON_CLK_MEDIATEK default ARCH_MEDIATEK ---help---