diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-11 17:50:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-15 16:07:08 +0100 |
commit | 0f45b23aedf91ae66890d13320c5147c15013a0c (patch) | |
tree | 4b1f3e6fe896ae137f53729635a23ca01cbe117e | |
parent | df5dee80a75af1fba4dbdd0ea6041456d500beba (diff) | |
download | linux-0f45b23aedf91ae66890d13320c5147c15013a0c.tar.bz2 |
staging: dgnc: remove duplicated tty defines
The dgnc driver defined numerous TTY defines that the core kernel
already defines. So just remove this duplication.
Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/dgnc/digi.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h index 6cb541fe8422..6a09bd32e349 100644 --- a/drivers/staging/dgnc/digi.h +++ b/drivers/staging/dgnc/digi.h @@ -7,30 +7,6 @@ #ifndef _DIGI_H #define _DIGI_H -#ifndef TIOCM_LE -#define TIOCM_LE 0x01 /* line enable */ -#define TIOCM_DTR 0x02 /* data terminal ready */ -#define TIOCM_RTS 0x04 /* request to send */ -#define TIOCM_ST 0x08 /* secondary transmit */ -#define TIOCM_SR 0x10 /* secondary receive */ -#define TIOCM_CTS 0x20 /* clear to send */ -#define TIOCM_CAR 0x40 /* carrier detect */ -#define TIOCM_RNG 0x80 /* ring indicator */ -#define TIOCM_DSR 0x100 /* data set ready */ -#define TIOCM_RI TIOCM_RNG /* ring (alternate) */ -#define TIOCM_CD TIOCM_CAR /* carrier detect (alt) */ -#endif - -#if !defined(TIOCMSET) -#define TIOCMSET (('d' << 8) | 252) /* set modem ctrl state */ -#define TIOCMGET (('d' << 8) | 253) /* set modem ctrl state */ -#endif - -#if !defined(TIOCMBIC) -#define TIOCMBIC (('d' << 8) | 254) /* set modem ctrl state */ -#define TIOCMBIS (('d' << 8) | 255) /* set modem ctrl state */ -#endif - #define DIGI_GETA (('e' << 8) | 94) /* Read params */ #define DIGI_SETA (('e' << 8) | 95) /* Set params */ #define DIGI_SETAW (('e' << 8) | 96) /* Drain & set params */ |