Skip to content

Commit 0f8a61c

Browse files
masneybtsbogend
authored andcommitted
watchdog: pic32-dmt: 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>
1 parent 24cad1a commit 0f8a61c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/watchdog/pic32-dmt.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
#include <linux/kernel.h>
1313
#include <linux/module.h>
1414
#include <linux/of.h>
15+
#include <linux/platform_data/pic32.h>
1516
#include <linux/platform_device.h>
1617
#include <linux/pm.h>
1718
#include <linux/watchdog.h>
1819

19-
#include <asm/mach-pic32/pic32.h>
20-
2120
/* Deadman Timer Regs */
2221
#define DMTCON_REG 0x00
2322
#define DMTPRECLR_REG 0x10

0 commit comments

Comments
 (0)