[lantiq] fixes none-pci build
[openwrt.git] / target / linux / lantiq / patches-3.7 / 0302-wifi-eep.patch
index 65ec0d1..54a8acd 100644 (file)
@@ -2,10 +2,11 @@ Index: linux-3.7-rc8/arch/mips/lantiq/xway/Makefile
 ===================================================================
 --- linux-3.7-rc8.orig/arch/mips/lantiq/xway/Makefile  2012-12-13 10:59:54.176314899 +0100
 +++ linux-3.7-rc8/arch/mips/lantiq/xway/Makefile       2012-12-13 13:58:51.696584083 +0100
-@@ -1,3 +1,5 @@
+@@ -1,3 +1,6 @@
  obj-y := prom.o sysctrl.o clk.o reset.o dma.o timer.o dcdc.o
  
-+obj-y += ath_eep.o rt_eep.o eth_mac.o
++obj-y += eth_mac.o
++obj-$(CONFIG_PCI) += ath_eep.o rt_eep.o
 +
  obj-$(CONFIG_XRX200_PHY_FW) += xrx200_phy_fw.o
 Index: linux-3.7-rc8/arch/mips/lantiq/xway/ath_eep.c