]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[WATCHDOG] max63xx driver depends on ioremap()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 7 Apr 2010 17:57:02 +0000 (19:57 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 16 Apr 2010 12:26:32 +0000 (12:26 +0000)
Correct fix for the "ioremap() causes build failure on S390" should have been
a dependancy on HAS_IOMEM. So we add this dependancy also (and leave the driver
in the ARM section for now).

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig

index 3a6aa0ff975ae0331d11f1808d83ccd8fe9f9f46..0bf5020d0d326fa1d700565cfdb5c0f619c0cd5f 100644 (file)
@@ -302,7 +302,7 @@ config TS72XX_WATCHDOG
 
 config MAX63XX_WATCHDOG
        tristate "Max63xx watchdog"
-       depends on ARM
+       depends on ARM && HAS_IOMEM
        help
          Support for memory mapped max63{69,70,71,72,73,74} watchdog timer.