From patchwork Tue Jan 24 12:09:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9535049 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 EF98860434 for ; Tue, 24 Jan 2017 12:09:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E193726E4E for ; Tue, 24 Jan 2017 12:09:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D333226E73; Tue, 24 Jan 2017 12:09:19 +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 587AD26E4E for ; Tue, 24 Jan 2017 12:09:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750763AbdAXMJT convert rfc822-to-8bit (ORCPT ); Tue, 24 Jan 2017 07:09:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:34638 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750721AbdAXMJS (ORCPT ); Tue, 24 Jan 2017 07:09:18 -0500 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 C350CAD9D; Tue, 24 Jan 2017 12:09:16 +0000 (UTC) Date: Tue, 24 Jan 2017 13:09:12 +0100 From: Jean Delvare To: linux-clk@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: "Andreas =?UTF-8?B?RsOkcmJlcg==?=" , James Liao , Stephen Boyd , Matthias Brugger Subject: [PATCH] clk: mediatek: Fix MT8135 dependencies Message-ID: <20170124130912.14375a32@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 The MT8135 is a 32-bit SoC, so only propose it on ARM architecture, not ARM64. Signed-off-by: Jean Delvare Fixes: 234d511d8c15 ("clk: mediatek: Add hardware dependency") Cc: Andreas Färber Cc: James Liao Cc: Stephen Boyd Cc: Matthias Brugger Reviewed-by: Matthias Brugger Acked-by: James Liao --- drivers/clk/mediatek/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-4.10-rc4.orig/drivers/clk/mediatek/Kconfig 2017-01-24 12:55:50.192100713 +0100 +++ linux-4.10-rc4/drivers/clk/mediatek/Kconfig 2017-01-24 12:59:08.703066604 +0100 @@ -52,9 +52,9 @@ config COMMON_CLK_MT2701_BDPSYS config COMMON_CLK_MT8135 bool "Clock driver for Mediatek MT8135" - depends on ARCH_MEDIATEK || COMPILE_TEST + depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST select COMMON_CLK_MEDIATEK - default ARCH_MEDIATEK + default ARCH_MEDIATEK && ARM ---help--- This driver supports Mediatek MT8135 clocks.