]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: fix compile bug on s390
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 14 Oct 2008 01:58:48 +0000 (18:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2008 01:58:48 +0000 (18:58 -0700)
commit7113611089e48e2b5920dd6918609103cd357cf6
tree76a22d3c3cf8d176d10f16a71ac09f74dcd31865
parent028d84ede3719058ba553aeb1298cb9eb1925585
dsa: fix compile bug on s390

git commit c17077a4e54c72b58e1e4660fceb002c0ef7e7ad
"dsa: Need to select PHYLIB." causes this build bug on s390:

drivers/built-in.o: In function `phy_stop_interrupts':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:631: undefined reference to `free_irq'
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:646: undefined reference to `enable_irq'
drivers/built-in.o: In function `phy_start_interrupts':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:601: undefined reference to `request_irq'
drivers/built-in.o: In function `phy_interrupt':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:528: undefined reference to `disable_irq_nosync'
drivers/built-in.o: In function `phy_change':
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:674: undefined reference to `enable_irq'
/home/heicarst/linux-2.6/drivers/net/phy/phy.c:692: undefined reference to `disable_irq'

PHYLIB has alread a depend on !S390, however select PHYLIB at DSA overrides
that unfortunately. So add a depend on !S390 to DSA as well.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/Kconfig