From: shawn.guo@freescale.com (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: imx: imx6sx uses imx6q cpuidle code
Date: Thu, 3 Jul 2014 22:23:12 +0800 [thread overview]
Message-ID: <20140703142311.GF30239@dragon> (raw)
In-Reply-To: <6439884.YMH7C85FhG@wuerfel>
On Thu, Jul 03, 2014 at 04:16:06PM +0200, Arnd Bergmann wrote:
> Building a kernel for imx6sx but without imx6q support results in
> this link error because of the missing cpuidle driver:
>
> arch/arm/mach-imx/built-in.o: In function `imx6sx_init_late'::(.init.text+0xc228):
> undefined reference to `imx6q_cpuidle_init'
>
> This patch adds a Makefile entry so we always build support for
> the imx6q_cpuidle code when at least one of the 6sx or 6q variants
> are enabled.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks for the fixing, Arnd. Applied.
Shawn
>
> diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
> index a364e20..d0179cd 100644
> --- a/arch/arm/mach-imx/Makefile
> +++ b/arch/arm/mach-imx/Makefile
> @@ -31,6 +31,7 @@ ifeq ($(CONFIG_CPU_IDLE),y)
> 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-imx6q.o
> endif
>
> ifdef CONFIG_SND_IMX_SOC
>
next prev parent reply other threads:[~2014-07-03 14:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 14:16 [PATCH] ARM: imx: imx6sx uses imx6q cpuidle code Arnd Bergmann
2014-07-03 14:23 ` Shawn Guo [this message]
2014-07-03 17:57 ` Uwe Kleine-König
2014-07-04 1:54 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140703142311.GF30239@dragon \
--to=shawn.guo@freescale.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).