From patchwork Tue Sep 6 12:53:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 666540 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sT65K51llz9s9x for ; Tue, 6 Sep 2016 22:55:17 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhFsm-0001uU-DT; Tue, 06 Sep 2016 12:53:44 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhFsf-0001h3-Im for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2016 12:53:40 +0000 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0MLnvv-1bgz1X34Gh-000qSh; Tue, 06 Sep 2016 14:53:04 +0200 From: Arnd Bergmann To: Shawn Guo Subject: [PATCH] ARM: imx: build cpuidle-imx6sx.o for imx6ul Date: Tue, 6 Sep 2016 14:53:25 +0200 Message-Id: <20160906125338.1530603-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:83H+hpuc6XD708pYTEGNgT+YNFkft64C+IJb3lWR0n3c1kn+geL jlaLXw0tqa2t7kgp8Qhhm9AtB03plmAOL5KVRhUFZG5lzDmkKl2TluIChdcbyg6xMEoFJ4a RDzsnXlyoKXWsuvFLMvZEbhoekpQ2IQog4DmYrMe3iN5jLLxzf4nVukDE7SgbYRlLiYppBs 8eEfm1JsjISsK7OvxdqtA== X-UI-Out-Filterresults: notjunk:1; V01:K0:Zz61DijefgE=:Vne55BV75RyFonFlACsqXC 1IJP+yI33hFxZlKWdK/KbLiMQtlyULhSw8cGpZgl5WVyM56hLLIprLwdTFYMsnvZpfWyAqClz pTndXxTukPgBJfcc9R0IW3M/QAFZVFl5PsgLIYpoP7QJvKYHfSK2YeLHZioMGASdEDgTrtsyZ ViwcohwtjGNs93SLoT6P5KTFbIgHkclWikphHQlPGs9r2/zhxJH461NKgDPhpfIkMaWkwKnXC PsEBVupDSGMqxbUAUbKrQbApUpIoyxCMt5dzS2us3lhMkDiN8+jal31zxL+XHzu5lle++ResZ ZonunG78eRwHZ96siIe7hbvo8WybwWSAUMqT+hN8ffXDdHuE+pBr4ntBnRuiG28POgWHT5KV9 jyp8JLHGvsc3UnRDQU+DEOPt3DYyHIjQ4c8CkO43knntC+JDiXD/KqyuvRRfXMHm1i/hszZ08 I+65t67ct/yA5TNOX6XjM4aG6WGgtOnEKKN65ocuXL01O5lQ6r34icWW3bBYY3iCcT3yhWD5S yycb0n8QquxllKHMCoLa5JO5ITOhZTMMLVacwxO18vfcPr4ETZ9c8CVOA7R2NqYPiMspvBVij 4+XUbiGY6phr8BUVGjlMW6xJX3gAmUzxXIdVRWYk97A/UYzq3U6sJNIMTNHfS3nMQIMI0Qf6y zSIHYFCIB9ZgFsTgfEjJXKtp2N+tXNsitTPY7aKArR9UMEESJeZ/+ujEXdKWOX1GzsA4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_055338_063082_E37A4498 X-CRM114-Status: GOOD ( 11.14 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.135 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [212.227.126.135 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Alexander Shiyan , Anson Huang , linux-kernel@vger.kernel.org, Sascha Hauer , Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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") --- arch/arm/mach-imx/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index edce8dfa581d..737450fe790c 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -27,6 +27,7 @@ obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o +obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o endif ifdef CONFIG_SND_IMX_SOC