diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2010-11-04 11:20:23 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-16 15:50:17 -0500 |
| commit | 3dfbd044d0d99cad2fe50e4f6c79845703fa0558 (patch) | |
| tree | 4a354f0983924554427074cf3e47c596822705d4 /include/linux | |
| parent | a75d946f42ae1771424a9582129fc5182ff48a1b (diff) | |
TTY: include termios.h in tty_driver.h
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | 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 db2d227694da..09678ed370f8 100644 --- a/include/linux/tty_driver.h +++ b/include/linux/tty_driver.h | |||
| @@ -235,6 +235,7 @@ | |||
| 235 | #include <linux/fs.h> | 235 | #include <linux/fs.h> |
| 236 | #include <linux/list.h> | 236 | #include <linux/list.h> |
| 237 | #include <linux/cdev.h> | 237 | #include <linux/cdev.h> |
| 238 | #include <linux/termios.h> | ||
| 238 | 239 | ||
| 239 | struct tty_struct; | 240 | struct tty_struct; |
| 240 | struct tty_driver; | 241 | struct tty_driver; |
