summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/crisv10.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2013-03-07 16:12:36 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-19 03:25:29 +0400
commitb1d984cf7d6b7d4e395f1aa6a0a4d3d1ecf21495 (patch)
treefac50218bf51b62a993850d41dd37cbae476a9f2 /drivers/tty/serial/crisv10.h
parentee7970690568b0c875467f475d9c957ec0d9e099 (diff)
downloadlinux-b1d984cf7d6b7d4e395f1aa6a0a4d3d1ecf21495.tar.xz
crisv10: use flags from tty_port
First, remove STD_FLAGS as the value, or its subvalues (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST) is not tested anywhere -- there is no point to initialize flags to that. Second, use flags member from tty_port when we have it now. So that we do not waste space. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/crisv10.h')
-rw-r--r--drivers/tty/serial/crisv10.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/crisv10.h b/drivers/tty/serial/crisv10.h
index ea0beb46a10d..7146ed29d508 100644
--- a/drivers/tty/serial/crisv10.h
+++ b/drivers/tty/serial/crisv10.h
@@ -53,8 +53,6 @@ struct e100_serial {
volatile u8 *icmdadr; /* adr to R_DMA_CHx_CMD */
volatile u32 *idescradr; /* adr to R_DMA_CHx_DESCR */
- int flags; /* defined in tty.h */
-
u8 rx_ctrl; /* shadow for R_SERIALx_REC_CTRL */
u8 tx_ctrl; /* shadow for R_SERIALx_TR_CTRL */
u8 iseteop; /* bit number for R_SET_EOP for the input dma */