summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/nwpserial.c
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2014-08-20 18:55:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-09 01:17:45 +0200
commit920314dfd05f40cbe8ad677ba733ff1f8814d93a (patch)
tree6e59dbd6f80fdb34a637163251182211bd02d392 /drivers/tty/serial/nwpserial.c
parentARM: meson: serial: add MesonX SoC on-chip uart driver (diff)
downloadlinux-920314dfd05f40cbe8ad677ba733ff1f8814d93a.tar.xz
linux-920314dfd05f40cbe8ad677ba733ff1f8814d93a.zip
serial: Fix build failure caused by missing header file
Fix build failure caused by missing header file: drivers/tty/serial/nwpserial.c: In function 'wait_for_bits': drivers/tty/serial/nwpserial.c:53:3: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration] Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/nwpserial.c')
-rw-r--r--drivers/tty/serial/nwpserial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/nwpserial.c b/drivers/tty/serial/nwpserial.c
index c06366b6bc29..5da7622e88c3 100644
--- a/drivers/tty/serial/nwpserial.c
+++ b/drivers/tty/serial/nwpserial.c
@@ -22,6 +22,7 @@
#include <linux/of_platform.h>
#include <linux/of_device.h>
#include <linux/nwpserial.h>
+#include <linux/delay.h>
#include <asm/prom.h>
#include <asm/dcr.h>