From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754771AbaEHO6w (ORCPT ); Thu, 8 May 2014 10:58:52 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:62200 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754148AbaEHO5H (ORCPT ); Thu, 8 May 2014 10:57:07 -0400 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Wim Van Sebroeck , linux-watchdog@vger.kernel.org Subject: [PATCH] watchdog: iop_wdt only builds for mach-iop13xx Date: Thu, 8 May 2014 16:56:19 +0200 Message-Id: <1399560990-1402858-8-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399560990-1402858-1-git-send-email-arnd@arndb.de> References: <1399560433-1402630-1-git-send-email-arnd@arndb.de> <1399560990-1402858-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:/kAzIp80HEvpJItpNBJOyXzUjtfOZirQHgKGJq6CTVD rfL3fOvnilthy9hx8y7fsu41L/gAIaGbnJWWMGEoN6IqVFq4r+ FYB7ihD++LTKTNe1uArYt8X7Rnw1/WVCM1YTJcTuMUOr1VgigA W/55If5U024Bt/LtXWJ/8GOReJSs50mqVNrhgfWNH88eNWxwqT 313XWFKb3b/XGaqZA55Rh6hHTIWUmjP8sIaoS1HOMow9VE3rbh tzxmvgEmGi0M7v40SoRHR7R8I2rFC0uwarYhs1nJPoW6a2mXv8 ullOScJGr0f7AAKCB2Dfwn+Ty0IpRXCOoTmz/slO3LWKHOtgDO ZowIypfyPA+1hsD1Rm5nzNEGXtVGNyQINyIoVeEXV Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Wim Van Sebroeck Cc: linux-watchdog@vger.kernel.org --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 2b4c1fc..e244548 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -272,7 +272,7 @@ config PNX4008_WATCHDOG config IOP_WATCHDOG tristate "IOP Watchdog" - depends on PLAT_IOP + depends on ARCH_IOP13XX select WATCHDOG_NOWAYOUT if (ARCH_IOP32X || ARCH_IOP33X) help Say Y here if to include support for the watchdog timer -- 1.8.3.2