From: Jens Taprogge Date: Thu, 6 Sep 2012 19:45:18 +0000 (+0200) Subject: staging: ipack: only build on platforms that provide ioread/iowrite. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7953e44cefe1359032d1148de69b966bcd2e5233;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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