]> git.kernelconcepts.de Git - mv-sheeva.git/commitdiff
TTY: include termios.h in tty_driver.h
authorJiri Slaby <jslaby@suse.cz>
Thu, 4 Nov 2010 15:20:23 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:50:17 +0000 (12:50 -0800)
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>
include/linux/tty_driver.h

index db2d227694da664f2e789767927da0126de7c64d..09678ed370f8c3161354e39438e870245525bac7 100644 (file)
 #include <linux/fs.h>
 #include <linux/list.h>
 #include <linux/cdev.h>
+#include <linux/termios.h>
 
 struct tty_struct;
 struct tty_driver;