net/at91_ether: compile macb for exported functions
authorJoachim Eastwood <manabian@gmail.com>
Thu, 18 Oct 2012 11:01:13 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Oct 2012 17:18:29 +0000 (13:18 -0400)
Comile macb as well as at91_ether to access exported functions.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
drivers/net/ethernet/cadence/Kconfig
drivers/net/ethernet/cadence/Makefile

index db931916da08c8ddfd26b9068a94b7dddd1bfb46..57f78abe11d9f1466dadf133b29021863a6dc115 100644 (file)
@@ -27,7 +27,7 @@ config ARM_AT91_ETHER
        tristate "AT91RM9200 Ethernet support"
        depends on ARM && ARCH_AT91RM9200
        select NET_CORE
-       select MII
+       select PHYLIB
        ---help---
          If you wish to compile a kernel for the AT91RM9200 and enable
          ethernet support, then you should always answer Y to this.
index 9068b8331ed18b52f5df76b75d5f5f9ad4125cf2..798b1e0fd220edcb21f254deea16a06aab2835ec 100644 (file)
@@ -2,5 +2,5 @@
 # Makefile for the Atmel network device drivers.
 #
 
-obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o
+obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o macb.o
 obj-$(CONFIG_MACB) += macb.o