]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: iop_wdt only builds for mach-iop13xx
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 14:56:19 +0000 (16:56 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 26 May 2014 21:01:36 +0000 (23:01 +0200)
commitfcf68db872e0d5d225aa56959c44462ddaed4ee7
treef4f4ff16df1e50951865c6733959c3439c97fbe9
parent4a274e7a279788036e98f60f8f0959bc6c5e66c0
watchdog: iop_wdt only builds for mach-iop13xx

All three iop variants we support in Linux (iop32x, iop33x and
iop13xx) seem to have support for the watchdog hardware, but this
driver fails to build for the first two of these because it
uses the IOP13XX_WDTCR_IB_RESET macro that is only defined for
iop13xx.

This clarifies the dependency in Kconfig to avoid randconfig
build errors. It is unlikely that anyone will ever miss support
for this driver on the ancient iop3xx platforms, so we don't
need to bother trying to fix it properly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
drivers/watchdog/Kconfig