summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Zankel <czankel@tensilica.com>2006-04-20 02:43:15 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-20 07:54:03 -0700
commit68876baf5e713ef711b6e19a279385e14c9921e3 (patch)
tree917b443aa4d144598579fadbcc4157c1fc5a0c6d
parent0324680064fd89d6ad52e89a4ccf16dec3ea3caa (diff)
downloadop-kernel-dev-68876baf5e713ef711b6e19a279385e14c9921e3.zip
op-kernel-dev-68876baf5e713ef711b6e19a279385e14c9921e3.tar.gz
[PATCH] xtensa: Fix TIOCGICOUNT macro
Remove the dependence on the async_icount structure in the TIOCGICOUNT macro for Xtensa. (Thanks Russell and Adrian for pointing this out) Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--include/asm-xtensa/ioctls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-xtensa/ioctls.h b/include/asm-xtensa/ioctls.h
index 10c4434..3b89a77 100644
--- a/include/asm-xtensa/ioctls.h
+++ b/include/asm-xtensa/ioctls.h
@@ -107,6 +107,6 @@
#define TIOCSERSETMULTI _IOW('T', 91, struct serial_multiport_struct) /* Set multiport config */
#define TIOCMIWAIT _IO('T', 92) /* wait for a change on serial input line(s) */
-#define TIOCGICOUNT _IOR('T', 93, struct async_icount) /* read serial port inline interrupt counts */
+#define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */
#endif /* _XTENSA_IOCTLS_H */
OpenPOWER on IntegriCloud