summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-04-08 12:41:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-28 22:16:10 -0700
commita5405cfa1b37ea2156abdbb589e06e29140844f4 (patch)
tree89875439ccc0b59741cecbd4f40e56d88fd286fd /drivers/staging/comedi
parentac8ebf8a8ff5b9e80b35b380ddcafd54bf6b5c8e (diff)
downloadlinux-a5405cfa1b37ea2156abdbb589e06e29140844f4.tar.bz2
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: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r--drivers/staging/comedi/drivers/das1800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/das1800.c b/drivers/staging/comedi/drivers/das1800.c
index d3aca976ee4c..52a8c5b8234c 100644
--- a/drivers/staging/comedi/drivers/das1800.c
+++ b/drivers/staging/comedi/drivers/das1800.c
@@ -225,7 +225,7 @@ enum das1800_boardid {
struct das1800_board {
const char *name;
unsigned char id;
- int ai_speed; /* max conversion period in nanoseconds */
+ unsigned int ai_speed;
unsigned int is_01_series:1;
};