summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/8250_pci.c
diff options
context:
space:
mode:
authorFlorian Fainelli <ffainelli@freebox.fr>2011-05-24 12:43:03 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-07 20:37:01 +0400
commitae92c1f5e7b6708371365d262625ac19e67c1e79 (patch)
tree74843691f724fcdd2ceeb04a83aff72847d5d61d /drivers/tty/serial/8250_pci.c
parent0e2adc06843a9b5a28af4ca5f796240297907897 (diff)
downloadlinux-ae92c1f5e7b6708371365d262625ac19e67c1e79.tar.xz
TTY: export NR_LDISC and N_* line discipline numbers to user-space
Since commit (4564f9e5: consolidate line discipline number definitions) the patch moved all line discipline number from a per-architecture termios.h to a shared one: tty.h. However, prior to this consolidation work, the line discipline numbers were outside of an ifdef __KERNEL__/endif block so these numbers used to be exported to user-space. Since such numbers are kernel ABI anyway, and tty.h is already included for user- space header processing, just move these relevant defines outside of the ifdef __KERNEL__/endif block in include/linux/tty.h. CC: Maxime Bizon <mbizon@freebox.fr> Signed-off-by: Florian Fainelli <ffainelli@freebox.fr> Acked-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/8250_pci.c')
0 files changed, 0 insertions, 0 deletions