From: Heiko Carstens Date: Mon, 22 Jun 2009 21:32:18 +0000 (+0000) Subject: net: let KS8842 driver depend on HAS_IOMEM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0cf08dcb78e8d61b6d4b2eb5cdb296d969971626;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git net: let KS8842 driver depend on HAS_IOMEM Fixes this compile error on s390: CC drivers/net/ks8842.o drivers/net/ks8842.c: In function 'ks8842_select_bank': drivers/net/ks8842.c:124: error: implicit declaration of function 'iowrite16' drivers/net/ks8842.c: In function 'ks8842_write8': drivers/net/ks8842.c:131: error: implicit declaration of function 'iowrite8' Cc: Richard Rojfors Signed-off-by: Heiko Carstens Signed-off-by: David S. Miller --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 01f282cd0989..dd145c1714a4 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -1725,6 +1725,7 @@ config TLAN config KS8842 tristate "Micrel KSZ8842" + depends on HAS_IOMEM help This platform driver is for Micrel KSZ8842 chip.