summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Taprogge <jens.taprogge@taprogge.org>2012-09-06 21:45:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-06 15:31:43 -0700
commit7953e44cefe1359032d1148de69b966bcd2e5233 (patch)
tree59ae625547766739823124a4fc4e1ffb48a47e77
parent13f7952f8f13fb1bbd18b85988e3a5bbbed00879 (diff)
staging: ipack: only build on platforms that provide ioread/iowrite.
Do so by depending on HAS_IOMEM. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/ipack/Kconfig1
1 files changed, 1 insertions, 0 deletions
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