From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S970319AbdDTPGv (ORCPT ); Thu, 20 Apr 2017 11:06:51 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:35435 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S970303AbdDTPGr (ORCPT ); Thu, 20 Apr 2017 11:06:47 -0400 MIME-Version: 1.0 In-Reply-To: <9df5f73d-3e3a-ee33-1b75-c14a1a707ad9@ti.com> References: <20170419214318.1605787-1-arnd@arndb.de> <9df5f73d-3e3a-ee33-1b75-c14a1a707ad9@ti.com> From: Arnd Bergmann Date: Thu, 20 Apr 2017 17:06:46 +0200 X-Google-Sender-Auth: e_wUjoh2M9nONe0SkDuCqLrzGGo Message-ID: Subject: Re: [PATCH] clk: ti: fix linker error with !SOC_OMAP4 To: Tero Kristo Cc: Michael Turquette , Stephen Boyd , Tony Lindgren , Richard Watts , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 20, 2017 at 4:57 PM, Tero Kristo wrote: > On 20/04/17 00:43, Arnd Bergmann wrote: >> >> When none of the OMAP4-generation SoCs are enabled, we run into a link >> error for am43xx/am43xx: >> >> drivers/clk/ti/dpll.o: In function `of_ti_am3_dpll_x2_setup': >> dpll.c:(.init.text+0xd8): undefined reference to `clkhwops_omap4_dpllmx' >> >> This is easily fixed by adding another #ifdef. >> >> While looking at the code, I also spotted another problem with the >> assignment of hw_ops variable that is not used again later. I'm >> changing this to setting clk_hw->ops instead, which I guess is what >> was intended here. > > > Good catch... It seems the corner case is masked in the testing I did > locally so far. > >> >> Fixes: 0565fb168d63 ("clk: ti: dpll: move omap3 DPLL functionality to >> clock driver") > > > However, I believe the fixes tag should point to this one in linux-next: > > commit 473adbf4e02857a6b78dfb3d9fcf752638bbadb9 > Author: Tero Kristo > Date: Thu Feb 9 11:25:28 2017 +0200 > > clk: ti: dpll44xx: fix clksel register initialization Ah, right. > Other than that: > > Acked-by: Tero Kristo Do you want me to resend, or can you forward the patch with the fixed fixes line? Arnd