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 db93191..57f78ab 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 9068b83..798b1e0 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