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

Olof Johansson olof at lixom.net
Fri Aug 21 09:37:00 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, applied.


-Olof




More information about the linux-arm-kernel mailing list