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

staging: comedi: das16: change type of private data 'timer_running'

This member of the private data is a true/false flag. For aesthetics,
change the type to an unsigned int bit-field to save a bit of space.
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 23a5c3ee
...@@ -444,9 +444,9 @@ struct das16_private_struct { ...@@ -444,9 +444,9 @@ struct das16_private_struct {
unsigned int divisor1; unsigned int divisor1;
unsigned int divisor2; unsigned int divisor2;
struct timer_list timer; struct timer_list timer;
short timer_running;
unsigned long extra_iobase; unsigned long extra_iobase;
unsigned int can_burst:1; unsigned int can_burst:1;
unsigned int timer_running:1;
}; };
static void das16_interrupt(struct comedi_device *dev) static void das16_interrupt(struct comedi_device *dev)
......
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