summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/serial_ks8695.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-09-01 16:20:57 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-22 15:49:26 -0700
commitee160a38eee357ed2572cf41437d5814ce53c839 (patch)
tree8f4b4435b0e142f66842808dc07bf16013f8413a /drivers/tty/serial/serial_ks8695.c
parent2c16a353104c8ad7add9ded6913d9fa090d5e7fb (diff)
downloadblackbird-op-linux-ee160a38eee357ed2572cf41437d5814ce53c839.tar.gz
blackbird-op-linux-ee160a38eee357ed2572cf41437d5814ce53c839.zip
TTY: serial, fix includes in some drivers
linux/tty_flip.h is included in linux/serial_core.h. But this may (and will) change in the future. Then we would get build errors such as: .../tty/serial/max3107.c: In function ‘put_data_to_circ_buf’: .../tty/serial/max3107.c:149:2: error: implicit declaration of function ‘tty_insert_flip_string’ So fix all the drviers which call tty flip buffer helpers to really include linux/tty_flip.h. And also make sure that those include linux/tty.h when operating with struct tty_struct. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/serial_ks8695.c')
-rw-r--r--drivers/tty/serial/serial_ks8695.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/serial_ks8695.c b/drivers/tty/serial/serial_ks8695.c
index 2430319f2f52..5551f7afe740 100644
--- a/drivers/tty/serial/serial_ks8695.c
+++ b/drivers/tty/serial/serial_ks8695.c
@@ -13,6 +13,7 @@
*/
#include <linux/module.h>
#include <linux/tty.h>
+#include <linux/tty_flip.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/serial.h>
OpenPOWER on IntegriCloud