From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1168256AbcKAJ2Y (ORCPT ); Tue, 1 Nov 2016 05:28:24 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:56177 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1168239AbcKAJ2W (ORCPT ); Tue, 1 Nov 2016 05:28:22 -0400 Date: Tue, 1 Nov 2016 10:28:16 +0100 From: Simon Horman To: Geert Uytterhoeven Cc: Arnd Bergmann , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Laurent Pinchart , Magnus Damm , Sergei Shtylyov , Linux-Renesas , linux-clk , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] clk: fix link error for rcar-gen2 Message-ID: <20161101092814.GD28143@verge.net.au> References: <20161021154737.3803065-1-arnd@arndb.de> <3808786.t4RxxDciQu@wuerfel> <20161031095214.GA2335@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions BV User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 31, 2016 at 11:02:36AM +0100, Geert Uytterhoeven wrote: > On Mon, Oct 31, 2016 at 10:52 AM, Simon Horman wrote: > > From: Simon Horman > > Subject: [PATCH] ARM: shmobile: only call rcar_gen2_clocks_init() if present > > > > The RZ/G1M (r8a7743) uses the R-Car Gen2 core, but not the R-Car Gen2 clock > > driver. This is a harbinger of a transition for R-Car Gen2 SoCs. As the > > process to get all the required pieces in place is somewhat complex it > > seems useful to try to disentangle dependencies where possible. > > > > The approach here is to temporarily disable calling rcar_gen2_clocks_init() > > if no R-Car Gen2 SoC are configured and thus the symbol will not be > > SoCs > > > present. > > > > Fixes: 1254f607fc3d ("ARM: shmobile: r8a7743: basic SoC support") > > Signed-off-by: Simon Horman > > Acked-by: Geert Uytterhoeven Thanks, I will queue this up.