diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-16 21:44:53 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-03 18:13:03 -0400 |
commit | b973b4c91be8f7de0531cf8ca2df41021d8f39b3 (patch) | |
tree | 3ef93eea786600cb1352b81366df990d645c3400 /arch/xtensa | |
parent | 6907b4564b77cd8a468716ea39dc152e48f03538 (diff) |
xtensa: fix TIOCGSERIAL and TIOCSSERIAL definitions
Put equivalent constants into TIOCGSERIAL and TIOCSSERIAL definitions:
size subfield of these IOCTL codes is not used and no other architecture
uses _IO* macros here.
The other way could be putting #include <linux/serial.h> into
net/bluetooth/rfcomm/tty.c.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/include/asm/ioctls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/ioctls.h b/arch/xtensa/include/asm/ioctls.h index fd1d1369a407..2aa4cd9f0cec 100644 --- a/arch/xtensa/include/asm/ioctls.h +++ b/arch/xtensa/include/asm/ioctls.h | |||
@@ -71,8 +71,8 @@ | |||
71 | #define TIOCSSOFTCAR _IOW('T', 26, unsigned int) | 71 | #define TIOCSSOFTCAR _IOW('T', 26, unsigned int) |
72 | #define TIOCLINUX _IOW('T', 28, char) | 72 | #define TIOCLINUX _IOW('T', 28, char) |
73 | #define TIOCCONS _IO('T', 29) | 73 | #define TIOCCONS _IO('T', 29) |
74 | #define TIOCGSERIAL _IOR('T', 30, struct serial_struct) | 74 | #define TIOCGSERIAL 0x803C541E /*_IOR('T', 30, struct serial_struct)*/ |
75 | #define TIOCSSERIAL _IOW('T', 31, struct serial_struct) | 75 | #define TIOCSSERIAL 0x403C541F /*_IOW('T', 31, struct serial_struct)*/ |
76 | #define TIOCPKT _IOW('T', 32, int) | 76 | #define TIOCPKT _IOW('T', 32, int) |
77 | # define TIOCPKT_DATA 0 | 77 | # define TIOCPKT_DATA 0 |
78 | # define TIOCPKT_FLUSHREAD 1 | 78 | # define TIOCPKT_FLUSHREAD 1 |