Commit a5405cfa authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: das1800: change type of 'ai_speed' boardinfo

This value is compared against the unsigned int cmd->convert_arg to
check the minimum value (max speed) for the analog input conversion
timing.

For aesthetics, change the type to match the cmd->convert_arg type.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ac8ebf8a
...@@ -225,7 +225,7 @@ enum das1800_boardid { ...@@ -225,7 +225,7 @@ enum das1800_boardid {
struct das1800_board { struct das1800_board {
const char *name; const char *name;
unsigned char id; unsigned char id;
int ai_speed; /* max conversion period in nanoseconds */ unsigned int ai_speed;
unsigned int is_01_series:1; unsigned int is_01_series:1;
}; };
......
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