diff options
| author | Brian Masney <bmasney@redhat.com> | 2026-01-12 17:48:08 -0500 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2026-01-30 15:29:08 +0100 |
| commit | 5aa5879eeebbef9cea33b3ca127d713a293d75d0 (patch) | |
| tree | 8b023107f536f4378b89e7fe8be6a4ce543e416e /drivers | |
| parent | 0f8a61ca78d65e470eaf0d1c01f28d53ab56d0a7 (diff) | |
watchdog: pic32-wdt: update include to use pic32.h from platform_data
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/watchdog/pic32-wdt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/watchdog/pic32-wdt.c b/drivers/watchdog/pic32-wdt.c index 1d282de312ef..2e7186b85194 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 |
