staging: ipack: only build on platforms that provide ioread/iowrite.
authorJens Taprogge <jens.taprogge@taprogge.org>
Thu, 6 Sep 2012 19:45:18 +0000 (21:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 22:31:43 +0000 (15:31 -0700)
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>
drivers/staging/ipack/Kconfig

index af32178..4cf4706 100644 (file)
@@ -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