From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kirsty.vergenet.net ([202.4.237.240]:45511 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755627AbdD1FOh (ORCPT ); Fri, 28 Apr 2017 01:14:37 -0400 Date: Fri, 28 Apr 2017 07:14:31 +0200 From: Simon Horman To: Geert Uytterhoeven Cc: Geert Uytterhoeven , Magnus Damm , Linux-Renesas , linux-clk Subject: Re: [PATCH] soc: renesas: Provide dummy rcar_rst_read_mode_pins() for compile-testing Message-ID: <20170428051430.GB18349@verge.net.au> References: <1493141785-29117-1-git-send-email-geert+renesas@glider.be> <20170426071305.GC25517@verge.net.au> <20170426073418.GE25517@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: On Wed, Apr 26, 2017 at 02:35:58PM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Apr 26, 2017 at 9:34 AM, Simon Horman wrote: > > On Wed, Apr 26, 2017 at 09:13:06AM +0200, Simon Horman wrote: > >> On Tue, Apr 25, 2017 at 07:36:25PM +0200, Geert Uytterhoeven wrote: > >> > If the R-Car RST driver is not included, compile-testing R-Car clock > >> > drivers fails with a link error: > >> > > >> > undefined reference to `rcar_rst_read_mode_pins' > >> > > >> > To fix this, provide a dummy version. Use the exact same test logic as > >> > in drivers/soc/renesas/Makefile, as there is no Kconfig symbol (yet) to > >> > control compilation of the R-Car RST driver. > >> > >> Adding a Kconfig symbol would be a bit cleaner IMHO. > > > > I now see you are doing so in other patches :) > > Indeed. I went with this quick fix, as drivers/soc/renesas doesn't have > a Kconfig file yet, and introducing a Kconfig symbol would thus be more > intrusive. Thanks. Given that it doesn't appear that the problem resolved by this fix manifests at this time I have queued it up for v4.13 rather than as a fix for v4.12. Let me know if you'd like me to revisit that decision.