From patchwork Wed Jul 31 19:56:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 170212 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4433308ile; Wed, 31 Jul 2019 12:59:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiooIXIQppXg80ibptLj2QmTWwPhUTCYtpD/6Qiavn6q9tzKf/OhM7+U5BQQ3d/nmSTcpy X-Received: by 2002:aa7:86cc:: with SMTP id h12mr41831673pfo.2.1564603166210; Wed, 31 Jul 2019 12:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564603166; cv=none; d=google.com; s=arc-20160816; b=AztK7IRVIv4fE5JhoG7DUIGOZPiu1fH/df8VA/SyLHFdoahs/0HTuu4hokUykR7/ne OgqBx1GvXii+SKThN+Vv85tT9qeqTmr92MInMdAisD9EWlJZHdLe9cr0B/96YyZRjLF6 Jbl8lmxOL5ocZU6xOOVIyap0XLHn6NAri4hBz14wdHsrDykH+AzwHDoxrFnQtEk5z1W+ +HXF7XEceiTPrL6CyOZ6BQf3SzHh8cNyWBRk/l4oWlTa60WId+ftTagPiYycUfC6/nC1 AFVKvuddWuz//K07Ul8tNMFUVUi/yZ0TbWEN/dZ7+NCYRVjf8j1rcmB+5VpKioFf1Y/M +BgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=ro/pJaAdCIqlzCPU3Oj3CdAFP5kChXClDVXYqbqajeg=; b=aFsHvONs9GtYq3QXrExNvONkWPKCT+ecRoXRt8Mf83Ms5Jgv4Oqa2Jj/2doqwMMlbK E8TOTx4s5/XOb9bp7HPeEvxejy+qohvY5uW6w4X/HlX21yfl94hN3lOx/k3/TYm9mTmd 1eUf3Z8xPPHI+216kwpVEApidJWnwMN8seUXPfn18ydGUDELob2n3diasEtSGcnTa4Uy cP4IpE0tClsp8qLhwN5AZogRP22YJ1B2TKU2bU21LwNHM51z1GVfznAEmoKfg600s4HP EvbKye6FJzmveOYmRJE9Bod81jCSQ1vmLwwW0PVW3s7tJVaktGJMG1vOSQTMRLntsCX8 zCRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-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 br15si2178979pjb.13.2019.07.31.12.59.26; Wed, 31 Jul 2019 12:59:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728890AbfGaT7Z (ORCPT + 1 other); Wed, 31 Jul 2019 15:59:25 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:44131 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbfGaT7Z (ORCPT ); Wed, 31 Jul 2019 15:59:25 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M60HD-1hzmMa1S2t-007WQU; Wed, 31 Jul 2019 21:58:51 +0200 From: Arnd Bergmann To: soc@kernel.org, linux-arm-kernel@lists.infradead.org, Vladimir Zapolskiy , Sylvain Lemieux , Russell King , Gregory Clement , Linus Walleij , Wim Van Sebroeck , Guenter Roeck Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , "David S. Miller" , Greg Kroah-Hartman , Alan Stern , linux-gpio@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 03/14] watchdog: pnx4008_wdt: allow compile-testing Date: Wed, 31 Jul 2019 21:56:45 +0200 Message-Id: <20190731195713.3150463-4-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190731195713.3150463-1-arnd@arndb.de> References: <20190731195713.3150463-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:9yUamtnf2TIEri8xToHi2HP0bNeq2o/bMYTbPMW/vg0ZGIzRlVZ urODGWophHwj2kamStrDk3IZ7zSpCTCX5t4sMnfLpIcxs9wmaHvSSDo+bNqZzwGdy5UYYR9 e0Y4xZ9D2FHcXdSkv/oCMKk2yUHxFcbeBUTKPhHw7pX66dppRRr1TufSUvH+5QEVggfcs8Z 6oMvoTmm1FtZK8+0oW/wg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:klU/jRvYVso=:PV42qGK6cAWld/OjjZOFZ1 zGMpHnObvYTQrIpVxVh6vZz9g4QDbJfZyHjqGV0KF05shbnRpDiouYuKEl+7RdTrLXQfq6OUE 3iGxoYpQ3HBCtxT3DWbqWWLjzoj7ATK7zwEPmUzqzrqjdRYzJszfhNAkX2yI5YVG3GmeBz7yz 9RDZV4vuOZy22/0qG81uXna7kipOrx0kN2s5FikkKplOevEqJ5tLa4h47HbmthkC8KXX7zbgY pV8i3+EJvVZRSaDGhptWUul3T1jBR2b7BO9BWPZmbjlxSVhOASs7lsyj+eHcuceoXxIJkpoby 7jns4DopRRhHvLL9wlR9ZhyFDkRbdO10LDreatLj5aTesK9vI3kXEjSfxlHluovG3Sm6QKYRF SsmRaoxRh7iE87EyMCkT62zLke0BDT/e7RQv10/x5qVYHLOpOHtZfMVaeh4dcS60FyguGq1Fd 3ZzSA/0jVKSDYqdV5txFh/RZ4uwjHFxMsqS451Oz7732M9uDtqR/CDUNN+MlQKcXzJwbAGxMp dN/OymhwlkaxUFRN1E+sGRFvkVQ9MSPkAOc6KurE8C1j+ohNT7WqJgapbfcUiNpDiXpiDxUyg OGFd2tSeUG/ZzHAGSoQjoTxD08FMp+mpwJN3uF+xl+fiNsAqYJ3JEC4ZzIkQYYCsZHSoOrZhj +/i+eKY1tw950RZ1mXRqF+97hNuHJvmGGLacoaAjuOdNIxSHQXg065UQavatOfy/ovlux6y0Y LxMR5+Bjw4qB9h6YFWvXSUmP198oby4rMT3eBg== Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org The only thing that prevents building this driver on other platforms is the mach/hardware.h include, which is not actually used here at all, so remove the line and allow CONFIG_COMPILE_TEST. Signed-off-by: Arnd Bergmann --- drivers/watchdog/Kconfig | 2 +- drivers/watchdog/pnx4008_wdt.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) -- 2.20.0 diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 8188963a405b..a45f9e3e442b 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -551,7 +551,7 @@ config OMAP_WATCHDOG config PNX4008_WATCHDOG tristate "LPC32XX Watchdog" - depends on ARCH_LPC32XX + depends on ARCH_LPC32XX || COMPILE_TEST select WATCHDOG_CORE help Say Y here if to include support for the watchdog timer diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index 7b446b696f2b..e0ea133c1690 100644 --- a/drivers/watchdog/pnx4008_wdt.c +++ b/drivers/watchdog/pnx4008_wdt.c @@ -30,7 +30,6 @@ #include #include #include -#include /* WatchDog Timer - Chapter 23 Page 207 */