mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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>
This commit is contained in:
parent
ed65ae9f6c
commit
24cad1a228
|
|
@ -22,8 +22,7 @@
|
|||
#include <linux/tty_flip.h>
|
||||
#include <linux/serial_core.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include <asm/mach-pic32/pic32.h>
|
||||
#include <linux/platform_data/pic32.h>
|
||||
|
||||
/* UART name and device definitions */
|
||||
#define PIC32_DEV_NAME "pic32-uart"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user