[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d40bcefe-4d11-43e4-9a62-2f4b2284830d@roeck-us.net>
Date: Fri, 9 Jan 2026 09:09:10 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Brian Masney <bmasney@...hat.com>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Claudiu Beznea <claudiu.beznea@...on.dev>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
linux-watchdog@...r.kernel.org
Subject: Re: [PATCH 11/13] watchdog: pic32-wdt: update include to use pic32.h
from platform_data
On Fri, Jan 09, 2026 at 11:41:24AM -0500, Brian Masney wrote:
> Use the linux/platform_data/pic32.h include instead of
> asm/mach-pic32/pic32.h so that the asm variant can be dropped. This
> is in preparation for allowing some drivers to be compiled on other
> architectures with COMPILE_TEST enabled.
>
> Signed-off-by: Brian Masney <bmasney@...hat.com>
>
Same as with previous patch.
Acked-by: Guenter Roeck <linux@...ck-us.net>
> ---
> To: Wim Van Sebroeck <wim@...ux-watchdog.org>
> To: Guenter Roeck <linux@...ck-us.net>
> Cc: linux-watchdog@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> ---
> drivers/watchdog/pic32-wdt.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/watchdog/pic32-wdt.c b/drivers/watchdog/pic32-wdt.c
> index 1d282de312ef1bd683529088fc88456983e8efb9..2e7186b85194645d40f32e69f198514fca83b601 100644
> --- a/drivers/watchdog/pic32-wdt.c
> +++ b/drivers/watchdog/pic32-wdt.c
> @@ -12,12 +12,11 @@
> #include <linux/kernel.h>
> #include <linux/module.h>
> #include <linux/of.h>
> +#include <linux/platform_data/pic32.h>
> #include <linux/platform_device.h>
> #include <linux/pm.h>
> #include <linux/watchdog.h>
>
> -#include <asm/mach-pic32/pic32.h>
> -
> /* Watchdog Timer Registers */
> #define WDTCON_REG 0x00
>
>
> --
> 2.52.0
>
Powered by blists - more mailing lists