Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Pranith Kumar and committed by
Greg Kroah-Hartman
920314df ff7693d0

+1
+1
drivers/tty/serial/nwpserial.c
··· 22 22 #include <linux/of_platform.h> 23 23 #include <linux/of_device.h> 24 24 #include <linux/nwpserial.h> 25 + #include <linux/delay.h> 25 26 #include <asm/prom.h> 26 27 #include <asm/dcr.h> 27 28