]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: at91: Fix link breakage when !CONFIG_PHYLIB
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 5 Jun 2013 09:50:43 +0000 (09:50 +0000)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 18 Jun 2013 08:20:22 +0000 (10:20 +0200)
commit0580ed363789c8fc9844df6904f471ca6e82fa07
tree796d78f5dcf24eaf0b43aefa24beb9e4849c3164
parent317ddd256b9c24b0d78fa8018f80f1e495481a10
ARM: at91: Fix link breakage when !CONFIG_PHYLIB

Fixes:
arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup':
:(.text+0x1174): undefined reference to `mdiobus_write'
:(.text+0x1188): undefined reference to `mdiobus_write'
:(.text+0x119c): undefined reference to `mdiobus_write'
:(.text+0x11b0): undefined reference to `mdiobus_write'
arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init':
:(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid'

when CONFIG_PHYLIB is not selected.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/board-dt-sama5.c