tty: add the new termios2 ioctls to the compatible list.
Make them depend on TCGETS2. If that one is implemented the rest should be there as well. Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e6ceb32aa2
commit
81257def2a
@ -1954,6 +1954,12 @@ ULONG_IOCTL(TIOCSCTTY)
|
||||
COMPATIBLE_IOCTL(TIOCGPTN)
|
||||
COMPATIBLE_IOCTL(TIOCSPTLCK)
|
||||
COMPATIBLE_IOCTL(TIOCSERGETLSR)
|
||||
#ifdef TCGETS2
|
||||
COMPATIBLE_IOCTL(TCGETS2)
|
||||
COMPATIBLE_IOCTL(TCSETS2)
|
||||
COMPATIBLE_IOCTL(TCSETSW2)
|
||||
COMPATIBLE_IOCTL(TCSETSF2)
|
||||
#endif
|
||||
/* Little f */
|
||||
COMPATIBLE_IOCTL(FIOCLEX)
|
||||
COMPATIBLE_IOCTL(FIONCLEX)
|
||||
|
Loading…
Reference in New Issue
Block a user