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 af321789dddb9a5880f3df1afc763333677ea8fb..4cf47066140c7b93182c8c820e70759a92d2b50f 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