[PATCH] ARM: imx: mach-imx6ul: Fix allmodconfig build

Shawn Guo shawnguo at kernel.org
Thu Aug 20 01:57:08 PDT 2015


On Wed, Aug 19, 2015 at 03:31:30PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> We should call phy_register_fixup_for_uid() only when CONFIG_PHYLIB
> is built-in, otherwise we get the following link error when building
> allmodconfig:
> 
> arch/arm/mach-imx/built-in.o: In function `imx6ul_init_machine':
> :(.init.text+0xa714): undefined reference to `phy_register_fixup_for_uid'
> 
> This is the same approach done in mach-imx6q.c and mach-imx6sx.c.
> 
> Reported-by: Olof Johansson <olof at lixom.net>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>

Thanks, Fabio.

Acked-by: Shawn Guo <shawnguo at kernel.org>

Olof,

I suppose that you will pick up the fix directly.  Let me know if you
think differently.  Thanks.

Shawn



More information about the linux-arm-kernel mailing list