Commit 21f181f1 authored by Lijo Antony's avatar Lijo Antony Committed by Greg Kroah-Hartman

Staging: comedi: comedidev.h: fixed a camel case

Fixed a camel case issue.
Signed-off-by: default avatarLijo Antony <lijo.kernel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 90a35c15
...@@ -464,7 +464,7 @@ static inline unsigned comedi_buf_read_n_allocated(struct comedi_async *async) ...@@ -464,7 +464,7 @@ static inline unsigned comedi_buf_read_n_allocated(struct comedi_async *async)
static inline void *comedi_aux_data(int options[], int n) static inline void *comedi_aux_data(int options[], int n)
{ {
unsigned long address; unsigned long address;
unsigned long addressLow; unsigned long address_low;
int bit_shift; int bit_shift;
if (sizeof(int) >= sizeof(void *)) if (sizeof(int) >= sizeof(void *))
address = options[COMEDI_DEVCONF_AUX_DATA_LO]; address = options[COMEDI_DEVCONF_AUX_DATA_LO];
...@@ -472,9 +472,9 @@ static inline void *comedi_aux_data(int options[], int n) ...@@ -472,9 +472,9 @@ static inline void *comedi_aux_data(int options[], int n)
address = options[COMEDI_DEVCONF_AUX_DATA_HI]; address = options[COMEDI_DEVCONF_AUX_DATA_HI];
bit_shift = sizeof(int) * 8; bit_shift = sizeof(int) * 8;
address <<= bit_shift; address <<= bit_shift;
addressLow = options[COMEDI_DEVCONF_AUX_DATA_LO]; address_low = options[COMEDI_DEVCONF_AUX_DATA_LO];
addressLow &= (1UL << bit_shift) - 1; address_low &= (1UL << bit_shift) - 1;
address |= addressLow; address |= address_low;
} }
if (n >= 1) if (n >= 1)
address += options[COMEDI_DEVCONF_AUX_DATA0_LENGTH]; address += options[COMEDI_DEVCONF_AUX_DATA0_LENGTH];
......
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