From: Joachim Eastwood Date: Thu, 18 Oct 2012 11:01:13 +0000 (+0000) Subject: net/at91_ether: compile macb for exported functions X-Git-Tag: v3.8-rc1~139^2~626^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0112a1dac5e8e4164ed7ab0b919f47b4d4854249;p=platform%2Fkernel%2Flinux-stable.git net/at91_ether: compile macb for exported functions Comile macb as well as at91_ether to access exported functions. Signed-off-by: Joachim Eastwood --- diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig index db93191..57f78abe 100644 --- a/drivers/net/ethernet/cadence/Kconfig +++ b/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. diff --git a/drivers/net/ethernet/cadence/Makefile b/drivers/net/ethernet/cadence/Makefile index 9068b83..798b1e0 100644 --- a/drivers/net/ethernet/cadence/Makefile +++ b/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