From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941510AbcIHONw (ORCPT ); Thu, 8 Sep 2016 10:13:52 -0400 Received: from mail.kernel.org ([198.145.29.136]:51676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934412AbcIHONv (ORCPT ); Thu, 8 Sep 2016 10:13:51 -0400 Date: Thu, 8 Sep 2016 22:13:17 +0800 From: Shawn Guo To: Arnd Bergmann Cc: Anson Huang , Sascha Hauer , Fabio Estevam , Alexander Shiyan , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: imx: build cpuidle-imx6sx.o for imx6ul Message-ID: <20160908141317.GF16911@tiger> References: <20160906125338.1530603-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160906125338.1530603-1-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 On Tue, Sep 06, 2016 at 02:53:25PM +0200, Arnd Bergmann wrote: > The imx6ul soc code gained support for cpuidle, but that causes > a link failure if CONFIG_SOC_IMX6SX is disabled: > > arch/arm/mach-imx/mach-imx6ul.o: In function `imx6ul_init_late': > mach-imx6ul.c:(.init.text+0xc): undefined reference to `imx6sx_cpuidle_init' > > This adds the file containing the imx6sx_cpuidle_init function > to the kernel for 6ul-only configurations. > > Signed-off-by: Arnd Bergmann > Fixes: 547e8f526959 ("ARM: imx: add cpuidle support for i.mx6ul") Applied, thanks.