From patchwork Thu Sep 8 15:36:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9321685 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 D31FC607D3 for ; Thu, 8 Sep 2016 15:36:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C4B18298E5 for ; Thu, 8 Sep 2016 15:36:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B85A5298E6; Thu, 8 Sep 2016 15:36:55 +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 31C0E298E9 for ; Thu, 8 Sep 2016 15:36:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934111AbcIHPgy (ORCPT ); Thu, 8 Sep 2016 11:36:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:45798 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933230AbcIHPgy (ORCPT ); Thu, 8 Sep 2016 11:36:54 -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 6A442AAD1; Thu, 8 Sep 2016 15:36:52 +0000 (UTC) Date: Thu, 8 Sep 2016 17:36:51 +0200 From: Jean Delvare To: linux-clk@vger.kernel.org Cc: Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH] clk: sunxi-ng: Add hardware dependency Message-ID: <20160908173651.769b6829@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.30; 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 sunxi-ng clock driver is useless for other architectures. Signed-off-by: Jean Delvare Cc: Maxime Ripard Cc: Michael Turquette --- drivers/clk/sunxi-ng/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-4.8-rc5.orig/drivers/clk/sunxi-ng/Kconfig 2016-09-04 23:31:46.000000000 +0200 +++ linux-4.8-rc5/drivers/clk/sunxi-ng/Kconfig 2016-09-08 17:29:46.179508283 +0200 @@ -1,6 +1,6 @@ config SUNXI_CCU bool "Clock support for Allwinner SoCs" - default ARCH_SUNXI + depends on ARCH_SUNXI || COMPILE_TEST if SUNXI_CCU