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-Tag: firefly_0821_release~3680^2~1977^2~557 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7953e44cefe1359032d1148de69b966bcd2e5233;p=firefly-linux-kernel-4.4.55.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