Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1043284AbdDVCYA (ORCPT ); Fri, 21 Apr 2017 22:24:00 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34788 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1043267AbdDVCX6 (ORCPT ); Fri, 21 Apr 2017 22:23:58 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4CF8B61156 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 21 Apr 2017 19:23:56 -0700 From: Stephen Boyd To: Arnd Bergmann Cc: Tero Kristo , Michael Turquette , Tony Lindgren , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] clk: ti: fix building without legacy omap3 Message-ID: <20170422022356.GI7065@codeaurora.org> References: <20170419174507.4055014-1-arnd@arndb.de> <20170419174507.4055014-2-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170419174507.4055014-2-arnd@arndb.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 743 Lines: 19 On 04/19, Arnd Bergmann wrote: > When CONFIG_ATAGS or CONFIG_OMAP3 is disabled, we get a build error: > > In file included from include/linux/clk-provider.h:15:0, > from drivers/clk/ti/clk.c:19: > drivers/clk/ti/clk.c: In function 'ti_clk_add_aliases': > drivers/clk/ti/clk.c:438:29: error: 'simple_clk_match_table' undeclared (first use in this function); did you mean 'simple_attr_write'? > > Moving the match table down fixes it. > > Fixes: c17435c56bb1 ("clk: ti: add API for creating aliases automatically for simple clock types") > Signed-off-by: Arnd Bergmann > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project