]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
watchdog: pic32-wdt: update include to use pic32.h from platform_data
authorBrian Masney <bmasney@redhat.com>
Mon, 12 Jan 2026 22:48:08 +0000 (17:48 -0500)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 30 Jan 2026 14:29:08 +0000 (15:29 +0100)
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.

Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
drivers/watchdog/pic32-wdt.c

index 1d282de312ef1bd683529088fc88456983e8efb9..2e7186b85194645d40f32e69f198514fca83b601 100644 (file)
 #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