summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorShawn Guo2012-05-08 15:39:33 +0200
committerShawn Guo2012-05-11 09:17:56 +0200
commitef44180680aafb29f50654f3325cf7791fa5433d (patch)
treeb36296d76094b2a3cccb7326a7d92b422c9c7698 /arch/arm/plat-mxc
parentARM: imx6q: move imx6q_sabrelite specific code to a dedicated function (diff)
downloadkernel-qcow2-linux-ef44180680aafb29f50654f3325cf7791fa5433d.tar.gz
kernel-qcow2-linux-ef44180680aafb29f50654f3325cf7791fa5433d.tar.xz
kernel-qcow2-linux-ef44180680aafb29f50654f3325cf7791fa5433d.zip
ARM: imx6q: register phy fixup only when CONFIG_PHYLIB is enabled
It fixes the following compile error with network disabled in imx_v6_v7_defconfig. arch/arm/mach-imx/built-in.o: In function `ksz9021rn_phy_fixup': imx53-dt.c:(.text+0x5f70): undefined reference to `mdiobus_write' imx53-dt.c:(.text+0x5f84): undefined reference to `mdiobus_write' imx53-dt.c:(.text+0x5f98): undefined reference to `mdiobus_write' imx53-dt.c:(.text+0x5fac): undefined reference to `mdiobus_write' imx53-dt.c:(.text+0x5fc0): undefined reference to `mdiobus_write' arch/arm/mach-imx/built-in.o: In function `imx6q_init_machine': imx53-dt.c:(.init.text+0x387c): undefined reference to `phy_register_fixup_for_uid' make: *** [.tmp_vmlinux1] Error 1 Reported-by: Artem Bityutskiy <dedekind1@gmail.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/plat-mxc')
0 files changed, 0 insertions, 0 deletions