linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul
  2016-09-07 10:30 [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul Anson Huang
@ 2016-09-07  2:44 ` Anson Huang
  0 siblings, 0 replies; 2+ messages in thread
From: Anson Huang @ 2016-09-07  2:44 UTC (permalink / raw)
  To: linux-arm-kernel

Sorry, please ignore this patch, Arnd Bergmann <arnd@arndb.de> has summited a patch to fix this issue.

Best Regards!
Anson Huang



> -----Original Message-----
> From: linux-arm-kernel [mailto:linux-arm-kernel-bounces at lists.infradead.org]
> On Behalf Of Anson Huang
> Sent: 2016-09-07 6:31 PM
> To: linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org
> Cc: Fabio Estevam Estevam <fabio.estevam@nxp.com>; shawnguo at kernel.org;
> linux at armlinux.org.uk; kernel at pengutronix.de
> Subject: [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul
> 
> Fix build error when CONFIG_SOC_IMX6SX is disabled, as i.MX6UL reuses
> i.MX6SX's cpuidle driver.
> 
> arch/arm/mach-imx/built-in.o: In function `imx6ul_init_late':
> platform-spi_imx.c:(.init.text+0x445c): undefined reference to
> `imx6sx_cpuidle_init'
> make: *** [vmlinux] Error 1
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---
>  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
> 2636adf..cab1289 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
> --
> 1.9.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul
@ 2016-09-07 10:30 Anson Huang
  2016-09-07  2:44 ` Anson Huang
  0 siblings, 1 reply; 2+ messages in thread
From: Anson Huang @ 2016-09-07 10:30 UTC (permalink / raw)
  To: linux-arm-kernel

Fix build error when CONFIG_SOC_IMX6SX is disabled,
as i.MX6UL reuses i.MX6SX's cpuidle driver.

arch/arm/mach-imx/built-in.o: In function `imx6ul_init_late':
platform-spi_imx.c:(.init.text+0x445c): undefined reference to `imx6sx_cpuidle_init'
make: *** [vmlinux] Error 1

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 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 2636adf..cab1289 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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-07 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-07 10:30 [PATCH] ARM: imx: build cpuidle-imx6sx.c for imx6ul Anson Huang
2016-09-07  2:44 ` Anson Huang

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).