From 7953e44cefe1359032d1148de69b966bcd2e5233 Mon Sep 17 00:00:00 2001 From: Jens Taprogge Date: Thu, 6 Sep 2012 21:45:18 +0200 Subject: [PATCH] staging: ipack: only build on platforms that provide ioread/iowrite. Do so by depending on HAS_IOMEM. Reported-by: Geert Uytterhoeven Signed-off-by: Jens Taprogge Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ipack/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ipack/Kconfig b/drivers/staging/ipack/Kconfig index af321789dddb..4cf47066140c 100644 --- a/drivers/staging/ipack/Kconfig +++ b/drivers/staging/ipack/Kconfig @@ -4,6 +4,7 @@ menuconfig IPACK_BUS tristate "IndustryPack bus support" + depends on HAS_IOMEM ---help--- If you say Y here you get support for the IndustryPack Framework for drivers for many types of boards that support this industrial