Re: [PATCH] drivers/net/dsa/Kconfig: Let NET_DSA_BCM_SF2 depend on HAS_IOMEM

From: David Miller
Date: Fri Oct 03 2014 - 18:50:40 EST


From: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
Date: Thu, 02 Oct 2014 22:14:04 +0800

> NET_DSA_BCM_SF2 need HAS_IOMEM, so depend on it, the related error (with
> allmodconfig under um):
>
> CC [M] drivers/net/dsa/bcm_sf2.o
> drivers/net/dsa/bcm_sf2.c: In function ʽbcm_sf2_sw_setupʼ:
> drivers/net/dsa/bcm_sf2.c:487:3: error: implicit declaration of function ʽiounmapʼ [-Werror=implicit-function-declaration]
> iounmap(*base);
> ^
>
> Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>

Applied.