[PATCH 2/2] serial_auart: fix compile error
Eric Bénard
eric at eukrea.com
Mon Sep 9 16:00:26 EDT 2013
this fix :
drivers/serial/serial_auart.c:49:22: fatal error: mach/mxs.h: No such file or directory
and
drivers/serial/serial_auart.c: In function 'auart_serial_init_port':
drivers/serial/serial_auart.c:174:2: warning: implicit declaration of function 'stmp_reset_block' [-Wimplicit-function-declaration]
only compile tested ATM
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
drivers/serial/serial_auart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/serial_auart.c b/drivers/serial/serial_auart.c
index 6518dbb..0e1ab83 100644
--- a/drivers/serial/serial_auart.c
+++ b/drivers/serial/serial_auart.c
@@ -42,11 +42,11 @@
#include <io.h>
#include <malloc.h>
#include <notifier.h>
+#include <stmp-device.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <mach/clock.h>
-#include <mach/mxs.h>
#include <mach/imx-regs.h>
#define HW_UARTAPP_CTRL0 (0x00000000)
--
1.8.3.1
More information about the barebox
mailing list