From patchwork Fri Aug 9 14:40:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 170935 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp10101662ile; Fri, 9 Aug 2019 07:42:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzz7xHy4DzOSvEFyvK/07rLoDXLsRK4EPHMNBFwSpZRyg+VD9Ak6G4DHVyDig72RHP0fAca X-Received: by 2002:a17:902:e383:: with SMTP id ch3mr19316824plb.23.1565361758363; Fri, 09 Aug 2019 07:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565361758; cv=none; d=google.com; s=arc-20160816; b=iCHyiQ6xdWDlxskWR8jWw1NBx66SDpWz07AwclqDBkAR8WKzqHv8RgzAssCH2+nbuL DntOmHoyeUU7nhbv4VyiIwH+SWPQaBWJYBmVNcKwkLy92Oi8CtMPokmYrqbC9ufpcayL dOImxCbkmhGz3XVpi2YCcmqv4OI8tVOaG1Wqqom5mU/4J939YSABLvlEwvVRZQUv49pw /U07rwyglgcsTckangYkl4v2QYOf5rB6IfmW/9D1RuL+u53I03SDZYy2SuOyq84vWmL2 +fTYgnorMs7EJxgvOEnDEa49gSCR6as74zs7IxvKx0A9Yab9DQ2RTaLtBI7hQP5ZNfzT HhMQ== 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=fTbykvyanBigyEB4P1ESr2/lYJbSYiPq4+Auoak5ZDY=; b=Na22X3oVAl2KbDPWDABdKmbwMlxoD4PyWv8ahhOswNHGWJsHLaNomzPOa8P0A9CXTb IjRAzTyihoSQEYLuNx2iDGFuO89xoY6948Wbu0WlXZCEPvItr+m0Q6r5BQLVCF4RX1+7 CHXyWga/3WLBg0Jaz4n3K6SPoXGEf2EXYeHVP0AMZhgQxHnwkpEWSNhFdKVsXybqPO6d 3bAz0IzG9MSEpAhRg4RrRdJ6QAdl/+91Uzr5GdFgdsf8Ipb3Da3o+LVyxOUhiKvIkKxN fPBb0GoRgcjDYck2g/mwAzTn7ePM+nydmS175Il/5cimPSI/ALRWYAyu7oyNadLj5K+5 JPQA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-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 d8si58388717pfr.182.2019.08.09.07.42.38 for ; Fri, 09 Aug 2019 07:42:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-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-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726168AbfHIOmi (ORCPT ); Fri, 9 Aug 2019 10:42:38 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:54689 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbfHIOmh (ORCPT ); Fri, 9 Aug 2019 10:42:37 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1N6JtR-1iOPhO3B3h-016fh0; Fri, 09 Aug 2019 16:42:07 +0200 From: Arnd Bergmann To: soc@kernel.org Cc: Vladimir Zapolskiy , Sylvain Lemieux , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Guenter Roeck , Wim Van Sebroeck , linux-watchdog@vger.kernel.org Subject: [PATCH v2 03/13] watchdog: pnx4008_wdt: allow compile-testing Date: Fri, 9 Aug 2019 16:40:29 +0200 Message-Id: <20190809144043.476786-4-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190809144043.476786-1-arnd@arndb.de> References: <20190809144043.476786-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:2AniHPLvo1jOIHTBA5j2I98sivoZsCAzYNsd3R/3R1uFTaliz4M 3rsrICP/4PwkInaQhxlJ/le7U5DXD8wWkq4JuseLTYnOxVv5i7Pa66SqiXbaguC3oA5FRw8 A3xdnI1Rtez1LzDbs+hgxfPKiJyB71Xm8m9gpg8RdpuYwWaPI7c4IElvW/Zfp2Gv0NrqnrX jNNC2a7YYGqIrQTGKSpMg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:Etmti/+xoQU=:l4/pWBsx0O3C1vyi+cIoXU B8/q/x2tPsjhwuwTEusw4xO3v3fsMQQTifM0loxUkh38VhpQRY6hhaYq4T0VxVGIgDRL7k4Fz jZ7BZJjWaG7sWyYIiHLs5LTGW4Sn3dzTN8w+H2ze/4aaLojYSZISir5/crSN/dM7rEGfJ+688 5lfVOkA68CmQdirZenGNKTe9XExQI9XCx3Bc9PI/J/Mhkhw/d0rxvIbRg8VrlGutTxVUa7Ee8 GUGIIM2QpNsQNscwV1Kw9bKmsWzduGGi1t+uRunVn2J7txrxyigBVsDI/Gmklywari3NfJKSH gJHVNI/QjS2jBmpNtXXlgOW5X1oxHK4uU3oyz9KzqIy3I/eqBfwOQh0lhMU4RjQeti5VOR9u+ 28FXhIzaucLv9wNiIKCy3nouTqfLJVXwsuozg9GInw0hjxiGg8jTQI3MivqWIHSf6ICQsP4US VAqYSNd1sQBqtHincI3+5NGUcPiwZxeav4bfdjIVSa60uo825Red6h1hEGt1XZwBdBTfXSaCm ZaYfGakR5giIId/4nDqGSabD0XGEHUqhTaUYwFuHsghmRHYzxm4qqhDZP74Vk8pXeiZlXRcvw r1gSQFieBhcZg1nhipaC/BxG29X59rcn49DjnIeO0Q7pDzw1tcrWETEsHxLq+MWgq3jLHxwhe AhfrHZ5BvPOVUiEgviEvpJB2WVBOnlB2VatyhjVwe+D0LDYrD3oPjGPCcPdHmZi0GOH8fU8gG CO183QaB3b+5OI4Ex4k3snRCyEStnmloMwaR8A== Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@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. Acked-by: Sylvain Lemieux Reviewed-by: Guenter Roeck 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 */