Commit 69163089 authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

staging: comedi: adv_pci1723: sample types are unsigned

Sample values in comedi are generally represented as unsigned values.
Change the element type of the `ao_data[]` member of `struct
pci1723_private` from `short` to `unsigned short` for consistency.
Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e3a9e513
...@@ -105,7 +105,7 @@ configures all channels in the same group. ...@@ -105,7 +105,7 @@ configures all channels in the same group.
struct pci1723_private { struct pci1723_private {
unsigned char da_range[8]; /* D/A output range for each channel */ unsigned char da_range[8]; /* D/A output range for each channel */
short ao_data[8]; /* data output buffer */ unsigned short ao_data[8]; /* data output buffer */
}; };
/* /*
......
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