From: H Hartley Sweeten Date: Fri, 8 Apr 2016 19:41:46 +0000 (-0700) Subject: staging: comedi: das1800: change type of 'ai_speed' boardinfo X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a5405cfa1b37ea2156abdbb589e06e29140844f4;p=linux-beck.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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; };