From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933172AbcAZCrh (ORCPT ); Mon, 25 Jan 2016 21:47:37 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:49065 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932684AbcAZCre (ORCPT ); Mon, 25 Jan 2016 21:47:34 -0500 Subject: Re: [PATCH 15/22] watchdog: Fix dependencies for !HAS_IOMEM archs To: Richard Weinberger , linux-kernel@vger.kernel.org References: <1453760661-1444-1-git-send-email-richard@nod.at> <1453760661-1444-16-git-send-email-richard@nod.at> Cc: user-mode-linux-devel@lists.sourceforge.net, Wim Van Sebroeck , linux-watchdog@vger.kernel.org From: Guenter Roeck Message-ID: <56A6DE41.9010504@roeck-us.net> Date: Mon, 25 Jan 2016 18:47:29 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1453760661-1444-16-git-send-email-richard@nod.at> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/25/2016 02:24 PM, Richard Weinberger wrote: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger Reviewed-by: Guenter Roeck > --- > drivers/watchdog/Kconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index 4f0e7be..0bd559a 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -146,6 +146,7 @@ config TANGOX_WATCHDOG > tristate "Sigma Designs SMP86xx/SMP87xx watchdog" > select WATCHDOG_CORE > depends on ARCH_TANGOX || COMPILE_TEST > + depends on HAS_IOMEM > help > Support for the watchdog in Sigma Designs SMP86xx (tango3) > and SMP87xx (tango4) family chips. > @@ -618,6 +619,7 @@ config DIGICOLOR_WATCHDOG > config LPC18XX_WATCHDOG > tristate "LPC18xx/43xx Watchdog" > depends on ARCH_LPC18XX || COMPILE_TEST > + depends on HAS_IOMEM > select WATCHDOG_CORE > help > Say Y here if to include support for the watchdog timer > @@ -1374,6 +1376,7 @@ config BCM_KONA_WDT_DEBUG > config BCM7038_WDT > tristate "BCM7038 Watchdog" > select WATCHDOG_CORE > + depends on HAS_IOMEM > help > Watchdog driver for the built-in hardware in Broadcom 7038 SoCs. > >