It should be save to just copy it.
This was added in this upstream commit:
commit 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7
Author: Vincent Cuissard <cuiss...@marvell.com>
Date:   Thu Jun 11 11:25:47 2015 +0200

    NFC: nci: add generic uart support

Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
---
 backport/backport-include/linux/tty.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/backport/backport-include/linux/tty.h 
b/backport/backport-include/linux/tty.h
index 3b8a0a2..7462ac3 100644
--- a/backport/backport-include/linux/tty.h
+++ b/backport/backport-include/linux/tty.h
@@ -29,4 +29,8 @@ extern void tty_port_tty_hangup(struct tty_port *port, bool 
check_clocal);
 extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt);
 #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,1,0) */
 
+#ifndef N_NCI
+#define N_NCI          25      /* NFC NCI UART */
+#endif
+
 #endif /* __BACKPORT_LINUX_TTY_H */
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in

Reply via email to