The driver makes use of dma_alloc_coherent and brethren. Depend on HAS_DMA to be sure, we don't run into link errors when compile-testing. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index ee8a716d9a3d..76509a52a1c7 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -181,6 +181,7 @@ config DRIVER_NET_KS8851_MLL config DRIVER_NET_MACB bool "macb Ethernet driver" depends on HAS_MACB || COMPILE_TEST + depends on HAS_DMA select PHYLIB config DRIVER_NET_MICREL -- 2.26.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox