staging: comedi: das1800: change type of 'ai_speed' boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 8 Apr 2016 19:41:46 +0000 (12:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:16:10 +0000 (22:16 -0700)
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>
drivers/staging/comedi/drivers/das1800.c

index d3aca976ee4c6bc153dd38a1be22cf4aa0919328..52a8c5b8234c37300978f1084fc356ca5f9066fe 100644 (file)
@@ -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;
 };