diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2016-04-01 17:28:44 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-04 12:41:24 -0700 |
commit | b9f8463728eb0dd46b9f2b34ee59b12e358b4ce7 (patch) | |
tree | b7a3962179853b6228dda7fc8aa667c6ae44288c /drivers/staging/dgnc/dgnc_tty.c | |
parent | staging: dgnc: remove too many traverse pointer (diff) | |
download | linux-dev-b9f8463728eb0dd46b9f2b34ee59b12e358b4ce7.tar.xz linux-dev-b9f8463728eb0dd46b9f2b34ee59b12e358b4ce7.zip |
staging: dgnc: fix CamelCase in dgnc_tty.c
fix checkpatch.pl warning about 'Avoid CamelCase'
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_tty.c')
-rw-r--r-- | drivers/staging/dgnc/dgnc_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 5d8da411edc6..074988d99639 100644 --- a/drivers/staging/dgnc/dgnc_tty.c +++ b/drivers/staging/dgnc/dgnc_tty.c @@ -2931,7 +2931,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, * Figure out how much data the RealPort Server believes should * be in our TX queue. */ - tdist = (buf.tIn - buf.tOut) & 0xffff; + tdist = (buf.tx_in - buf.tx_out) & 0xffff; /* * If we have more data than the RealPort Server believes we |