]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: HAVE_IOREMAP_PROT depends on MMU.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Sep 2008 14:26:44 +0000 (23:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Sep 2008 14:26:44 +0000 (23:26 +0900)
HAVE_IOREMAP_PROT enables an unconditional reference to
generic_access_phys(), which remains undefined in the nommu case.
As there's no point in supporting this there anyways, simply fix
up the dependency.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index 18a1cc8a6aa3d0a56598285cf7de9e97bd4483bf..adef42cd507fba89d1b11f7253544b1a24e4b5da 100644 (file)
@@ -12,7 +12,7 @@ config SUPERH
        select HAVE_IDE
        select HAVE_OPROFILE
        select HAVE_GENERIC_DMA_COHERENT
-       select HAVE_IOREMAP_PROT
+       select HAVE_IOREMAP_PROT if MMU
        help
          The SuperH is a RISC processor targeted for use in embedded systems
          and consumer electronics; it was also used in the Sega Dreamcast