diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-06-28 16:42:14 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-06-28 23:24:04 +0200 |
commit | af3846081570a7888899ffcc1fe9d3a5be4ab933 (patch) | |
tree | f23e0068f366c45293daaee3bd683b080b04fc67 | |
parent | 11b0184f6efe59b6ab952c098fcf07d741f0f4da (diff) |
header: add N_NCI
It should be save to just copy it.
This was added in this upstream commit:
commit 9961127d4bce6325e9a0b0fb105e0c85a6c62cb7
Author: Vincent Cuissard <cuissard@marvell.com>
Date: Thu Jun 11 11:25:47 2015 +0200
NFC: nci: add generic uart support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | backport/backport-include/linux/tty.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/backport-include/linux/tty.h b/backport/backport-include/linux/tty.h index 3b8a0a28..7462ac33 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 */ |