From patchwork Thu Jul 7 07:18:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9217913 X-Patchwork-Delegate: mturquette@baylibre.com 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 0F7D160467 for ; Thu, 7 Jul 2016 07:29:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04CBF28640 for ; Thu, 7 Jul 2016 07:29:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED49B286ED; Thu, 7 Jul 2016 07:29:17 +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 9FFA528640 for ; Thu, 7 Jul 2016 07:29:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751106AbcGGH3Q (ORCPT ); Thu, 7 Jul 2016 03:29:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:50299 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756294AbcGGH2w (ORCPT ); Thu, 7 Jul 2016 03:28:52 -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 549BBAC0B; Thu, 7 Jul 2016 07:28:03 +0000 (UTC) Date: Thu, 7 Jul 2016 09:18:44 +0200 From: Jean Delvare To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd , Neil Armstrong Subject: [PATCH] clk: oxnas: Add hardware dependencies Message-ID: <20160707091844.196a7930@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 clk-oxnas driver is specific to its architecture, so do not propose it on other architectures, unless build-testing. Signed-off-by: Jean Delvare Cc: Neil Armstrong Cc: Stephen Boyd Acked-by: Neil Armstrong --- drivers/clk/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-4.7-rc6.orig/drivers/clk/Kconfig 2016-07-04 08:01:00.000000000 +0200 +++ linux-4.7-rc6/drivers/clk/Kconfig 2016-07-07 09:12:17.723329794 +0200 @@ -203,6 +203,7 @@ config COMMON_CLK_PIC32 config COMMON_CLK_OXNAS bool "Clock driver for the OXNAS SoC Family" + depends on ARCH_OXNAS || COMPILE_TEST select MFD_SYSCON ---help--- Support for the OXNAS SoC Family clocks.