aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/lpc32xx_hs.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-08-09 16:40:30 +0200
committerArnd Bergmann <arnd@arndb.de>2019-08-15 21:33:04 +0200
commit5711e41b682ed4fc9b0803dc27722b1d8723a78a (patch)
treeae0d35284b8eeee69535597584803ffe464be979 /drivers/tty/serial/lpc32xx_hs.c
parentwatchdog: pnx4008_wdt: allow compile-testing (diff)
downloadlinux-dev-5711e41b682ed4fc9b0803dc27722b1d8723a78a.tar.xz
linux-dev-5711e41b682ed4fc9b0803dc27722b1d8723a78a.zip
serial: lpc32xx_hs: allow compile-testing
The only thing that prevents building this driver on other platforms is the mach/hardware.h include, which is not actually used here at all, so remove the line and allow CONFIG_COMPILE_TEST. Link: https://lore.kernel.org/r/20190809144043.476786-5-arnd@arndb.de Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/tty/serial/lpc32xx_hs.c')
-rw-r--r--drivers/tty/serial/lpc32xx_hs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/lpc32xx_hs.c b/drivers/tty/serial/lpc32xx_hs.c
index f4e27d0ad947..7f14cd8fac47 100644
--- a/drivers/tty/serial/lpc32xx_hs.c
+++ b/drivers/tty/serial/lpc32xx_hs.c
@@ -25,8 +25,6 @@
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/of.h>
-#include <mach/platform.h>
-#include <mach/hardware.h>
/*
* High Speed UART register offsets