Skip to content

Commit 24cad1a

Browse files
masneybtsbogend
authored andcommitted
serial: pic32_uart: 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. Signed-off-by: Brian Masney <bmasney@redhat.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent ed65ae9 commit 24cad1a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/tty/serial/pic32_uart.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
#include <linux/tty_flip.h>
2323
#include <linux/serial_core.h>
2424
#include <linux/delay.h>
25-
26-
#include <asm/mach-pic32/pic32.h>
25+
#include <linux/platform_data/pic32.h>
2726

2827
/* UART name and device definitions */
2928
#define PIC32_DEV_NAME "pic32-uart"

0 commit comments

Comments
 (0)