[PATCH v2 4/5] TTY: include termios.h in tty_driver.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Slaby
Date: Thursday, November 4, 2010 - 8:20 am

We reference termios and termiox in tty_driver.h, but we do not include
linux/termios.h where these are defined. Add the #include properly.

Otherwise when we include tty_driver.h, we get compile errors.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg KH <gregkh@suse.de>
---
 include/linux/tty_driver.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index db2d227..09678ed 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -235,6 +235,7 @@
 #include <linux/fs.h>
 #include <linux/list.h>
 #include <linux/cdev.h>
+#include <linux/termios.h>
 
 struct tty_struct;
 struct tty_driver;
-- 
1.7.3.1


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v2 2/5] parisc: cleanup console handling, Jiri Slaby, (Thu Nov 4, 8:20 am)
[PATCH v2 4/5] TTY: include termios.h in tty_driver.h, Jiri Slaby, (Thu Nov 4, 8:20 am)
Re: [PATCH v2 2/5] parisc: cleanup console handling, Kyle McMartin, (Thu Nov 4, 10:26 am)
Re: [PATCH v2 2/5] parisc: cleanup console handling, Jiri Slaby, (Thu Nov 4, 3:02 pm)