Commit b9f84637 authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman

staging: dgnc: fix CamelCase in dgnc_tty.c

fix checkpatch.pl warning about 'Avoid CamelCase'
Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8670a56f
...@@ -2931,7 +2931,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, ...@@ -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 * Figure out how much data the RealPort Server believes should
* be in our TX queue. * 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 * If we have more data than the RealPort Server believes we
......
...@@ -109,8 +109,8 @@ struct digi_info { ...@@ -109,8 +109,8 @@ struct digi_info {
struct digi_getbuffer /* Struct for holding buffer use counts */ struct digi_getbuffer /* Struct for holding buffer use counts */
{ {
unsigned long tIn; unsigned long tx_in;
unsigned long tOut; unsigned long tx_out;
unsigned long rxbuf; unsigned long rxbuf;
unsigned long txbuf; unsigned long txbuf;
unsigned long txdone; unsigned long txdone;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment