Re: [PATCH -next] net: calxeda xgmac ethernet driver add missingHAS_IOMEM dependency

From: Rob Herring
Date: Tue Dec 27 2011 - 09:26:37 EST


On 12/27/2011 08:07 AM, Heiko Carstens wrote:
> Fix allyesconfig build on architectures without IOMEM:
>
> drivers/net/ethernet/calxeda/xgmac.c:1800:2:
> error: implicit declaration of function 'iounmap' [-Werror=implicit-function-declaration]
>
> Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Cc: Rob Herring <rob.herring@xxxxxxxxxxx>

Thanks.

Acked-by: Rob Herring <rob.herring@xxxxxxxxxxx>

> ---
> drivers/net/ethernet/calxeda/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/ethernet/calxeda/Kconfig b/drivers/net/ethernet/calxeda/Kconfig
> index a52e725..aba435c 100644
> --- a/drivers/net/ethernet/calxeda/Kconfig
> +++ b/drivers/net/ethernet/calxeda/Kconfig
> @@ -1,6 +1,6 @@
> config NET_CALXEDA_XGMAC
> tristate "Calxeda 1G/10G XGMAC Ethernet driver"
> -
> + depends on HAS_IOMEM
> select CRC32
> help
> This is the driver for the XGMAC Ethernet IP block found on Calxeda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/