From patchwork Thu Sep 8 21:28:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9322121 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 B1C1560752 for ; Thu, 8 Sep 2016 21:28:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9F6E299F5 for ; Thu, 8 Sep 2016 21:28:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E6F6299F8; Thu, 8 Sep 2016 21:28:34 +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 041BE299F5 for ; Thu, 8 Sep 2016 21:28:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752867AbcIHV2d (ORCPT ); Thu, 8 Sep 2016 17:28:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:42489 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752439AbcIHV2d (ORCPT ); Thu, 8 Sep 2016 17:28:33 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 77D79AAF1; Thu, 8 Sep 2016 21:28:31 +0000 (UTC) Date: Thu, 8 Sep 2016 23:28:29 +0200 From: Jean Delvare To: linux-clk@vger.kernel.org Cc: Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2] clk: sunxi-ng: Add hardware dependency Message-ID: <20160908232829.07adc10b@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 Acked-by: Stephen Boyd --- Changes since v1: * Leave default in place (suggested by Stephen Boyd.) drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+) --- 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 21:51:36.600085604 +0200 @@ -1,5 +1,6 @@ config SUNXI_CCU bool "Clock support for Allwinner SoCs" + depends on ARCH_SUNXI || COMPILE_TEST default ARCH_SUNXI if SUNXI_CCU