Browse Source

net/at91_ether: compile macb for exported functions

Comile macb as well as at91_ether to access exported functions.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Joachim Eastwood 12 years ago
parent
commit
0112a1dac5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      drivers/net/ethernet/cadence/Kconfig
  2. 1 1
      drivers/net/ethernet/cadence/Makefile

+ 1 - 1
drivers/net/ethernet/cadence/Kconfig

@@ -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.

+ 1 - 1
drivers/net/ethernet/cadence/Makefile

@@ -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