diff options
author | Jens Taprogge <jens.taprogge@taprogge.org> | 2012-09-06 21:45:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 15:31:43 -0700 |
commit | 7953e44cefe1359032d1148de69b966bcd2e5233 (patch) | |
tree | 59ae625547766739823124a4fc4e1ffb48a47e77 | |
parent | 13f7952f8f13fb1bbd18b85988e3a5bbbed00879 (diff) | |
download | op-kernel-dev-7953e44cefe1359032d1148de69b966bcd2e5233.zip op-kernel-dev-7953e44cefe1359032d1148de69b966bcd2e5233.tar.gz |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/ipack/Kconfig b/drivers/staging/ipack/Kconfig index af32178..4cf4706 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 |