Received: by 2002:ac0:adb4:0:0:0:0:0 with SMTP id o49-v6csp8909imb; Fri, 10 Aug 2018 06:42:02 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzsz3pRubm6Wp0i/neKBSTHhu7HnrF9VC3X2n94L/QPmasM6pjDzug7u+WD+2jEObrwpO2a X-Received: by 2002:a17:902:b785:: with SMTP id e5-v6mr6192758pls.339.1533908522172; Fri, 10 Aug 2018 06:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533908522; cv=none; d=google.com; s=arc-20160816; b=O8d1YXFDNlOI15UIaNCNoBnma35SdyCWdDS9KTu8yKjURcMFs6awHUkH5KWnIJy4k6 9pOa0CKbZF8v9YlMqRYHBX5T2bzQPxYbzYoUQzy2czi37MI2M9k2jt6fk0VbagoRkikz RRuVcAt5skbG1WMArdVcOF1yVPXwBKaEhzTsigZcgmVFHtsMklZcZ0Dryomz5Hrp6Nw8 9lvv5HECGOIXIesQxfOQOk16L82h5rP4M+YP/DqzW/nj7adX2NhFpYcEwXFK0kf3Y7W3 0aXqlfW2l/WwwKaCr7P7ri6ajDihfEI4gNBhCgtmUpt9lnuAnShNXs1Nhb+3BGkNVoMG DUyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=CJAtOyICmfBVF+2b9xRivOif51fkG1+/sq3UV/VsgYE=; b=L/HgaZxaGa1Z7E3SDr8vhN7/l7G8sWlL2z5xy6LuHY+IXXYA++dP4yDFkpqi3nIxxd hHyyvvnTw410OZGq6uAObq7ImBZAtZfW+3SlXngumrdDv/jsOdV1Y4G/tU3Lwnov06XR U/nEWRkEtOWPpx4AQ3zCQdpTKWs45uhPBkmsU7zNtoQgSp7GWAkkNnAhHgUoMTdzDcN7 RUixHiESHe0RU6IxmCoWxPfpopLQ45LP74gMXZZd1HmDccnj5dBH6dAggLbNRrjetxWn QZTstgk9nztfUvro0lnnRoabYOxZk6icMzTpG/5HB5F1e0dwqzNeplC6Sokyd/JAQv2F CWbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mMHzJvwx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17-v6si8329185pgp.549.2018.08.10.06.41.46; Fri, 10 Aug 2018 06:42:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mMHzJvwx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728347AbeHJQIt (ORCPT + 99 others); Fri, 10 Aug 2018 12:08:49 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:33402 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727767AbeHJQIt (ORCPT ); Fri, 10 Aug 2018 12:08:49 -0400 Received: by mail-pg1-f195.google.com with SMTP id r5-v6so4436701pgv.0; Fri, 10 Aug 2018 06:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=CJAtOyICmfBVF+2b9xRivOif51fkG1+/sq3UV/VsgYE=; b=mMHzJvwxGB7AXDylGbZuMBslUOOZwXnRPH4dwRAq8tQkwgvxTEPK6h06oqtlLTad4X maT4gqaWAuSgx98NdIZ+OJr35SXBhATGpw2Yp9jVHidRFzQHy07AcOIzdj6vwNCzWV// qk8TX3FeHAf26HEPRaakcU8tNAyustf98nEWgfhfpJS1FgB6tB65kdd1e3jQKKEytkOg MOPewg+AOns5thxhTCRchrkCCCYuS4EDKN1ocMTLz1GZIP10BNMSMpTLgH4mREbTF3zO ZrE/PR7LTYqbFGrRB4MOctUJ+7qsryZZJM7K4Zf/0bqhhUw8/+vV7HMVkZP/ZO+UWHRU F8MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=CJAtOyICmfBVF+2b9xRivOif51fkG1+/sq3UV/VsgYE=; b=UzMI++1fZOvSI/SFv0UgedC/n4rWuCflRAxDr+efZqHBHsQ699k3HpuTmL5qf5htwU +WFVN9zo3XQt6jzIw1NDWMDgY/zMsRlB5x7d+4Dk38rWl0/u59xXdvPgJgcRVMqmwqnw 1eTe7uqHqJnrWX6kXxYhLu9/fE0Iy9yOwctP/TvvnI5g2U9M7S0MPB19oSjD6LOjXAgl wgnMTsYsBE+UmSh7Rw6p9roNP/rUrv45dMfgrTRktpY9GRGKNXrktGU98Y0yWlW24iH8 qJvw/VILeNA8MVx+O8iW3WEGFzJsCWtTdRFpRaWlH+8G+mEHATjjyX4Vh0uhVWPHktcK 0xPg== X-Gm-Message-State: AOUpUlF+UayMZhNUD/ePHfSFqRBiFNiDgNdGgMpVzSEEISNJnD8JmC55 Tld+MfbTtWX0N3YBdR/rAgcBn3qz X-Received: by 2002:a65:6243:: with SMTP id q3-v6mr6357017pgv.273.1533908331762; Fri, 10 Aug 2018 06:38:51 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id a20-v6sm19279646pfc.14.2018.08.10.06.38.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Aug 2018 06:38:51 -0700 (PDT) Date: Fri, 10 Aug 2018 06:38:50 -0700 From: Guenter Roeck To: Paul Cercueil Cc: Rob Herring , Mark Rutland , Thierry Reding , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , Lee Jones , Mathieu Malaterre , Ezequiel Garcia , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-mips@linux-mips.org, linux-doc@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v6 11/24] watchdog: jz4740: Drop dependency on MACH_JZ47xx, use COMPILE_TEST Message-ID: <20180810133850.GD29028@roeck-us.net> References: <20180809214414.20905-1-paul@crapouillou.net> <20180809214414.20905-12-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180809214414.20905-12-paul@crapouillou.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 09, 2018 at 11:44:01PM +0200, Paul Cercueil wrote: > Depending on MACH_JZ47xx prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. > > On other architectures, this driver can still be built, thanks to > COMPILE_TEST. This is used by automated tools to find bugs, for > instance. > > Signed-off-by: Paul Cercueil Reviewed-by: Guenter Roeck > --- > drivers/watchdog/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > v5: New patch > > v6: No change > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index 834222abbbdb..13a46cfa69b0 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -1475,7 +1475,7 @@ config INDYDOG > > config JZ4740_WDT > tristate "Ingenic jz4740 SoC hardware watchdog" > - depends on MACH_JZ4740 || MACH_JZ4780 > + depends on MIPS || COMPILE_TEST > depends on COMMON_CLK > select WATCHDOG_CORE > select INGENIC_TIMER > -- > 2.11.0 >