Re: [PATCH 13/22] net: Fix dependencies for !HAS_IOMEM archs
From: Noam Camus
Date: Tue Jan 26 2016 - 18:15:41 EST
From: Richard Weinberger <richard@xxxxxx>
Sent: Tuesday, January 26, 2016 12:24 AM
>Not every arch has io memory.
>So, unbreak the build by fixing the dependencies.
>Signed-off-by: Richard Weinberger <richard@xxxxxx>
>---
> drivers/net/ethernet/ezchip/Kconfig | 1 +
> drivers/net/phy/Kconfig | 1 +
> 2 files changed, 2 insertions(+)
>diff --git a/drivers/net/ethernet/ezchip/Kconfig >b/drivers/net/ethernet/ezchip/Kconfig
>index 48ecbc8..b423ad3 100644
>--- a/drivers/net/ethernet/ezchip/Kconfig
>+++ b/drivers/net/ethernet/ezchip/Kconfig
>@@ -18,6 +18,7 @@ if NET_VENDOR_EZCHIP
> config EZCHIP_NPS_MANAGEMENT_ENET
> tristate "EZchip NPS management enet support"
> depends on OF_IRQ && OF_NET
>+ depends on HAS_IOMEM
> ---help---
> Simple LAN device for debug or management purposes.
> Device supports interrupts for RX and TX(completion).
You got my ACK.
-Noam