diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2014-08-20 12:55:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 16:17:45 -0700 |
commit | 920314dfd05f40cbe8ad677ba733ff1f8814d93a (patch) | |
tree | 6e59dbd6f80fdb34a637163251182211bd02d392 /drivers/tty | |
parent | ff7693d079e58fb62d735b7b8085b53fcfb74528 (diff) | |
download | linux-920314dfd05f40cbe8ad677ba733ff1f8814d93a.tar.bz2 |
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')
-rw-r--r-- | drivers/tty/serial/nwpserial.c | 1 |
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> |