From: H Hartley Sweeten Date: Mon, 26 Jan 2015 23:17:18 +0000 (-0700) Subject: staging: comedi: das16: change type of private data 'timer_running' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=29538110470aec8a9b0a378d10371821d8f6e27e;p=openwrt%2Fstaging%2Fblogic.git 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: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/das16.c b/drivers/staging/comedi/drivers/das16.c index 5ad4c383cc5c..81fa28d3c0ca 100644 --- a/drivers/staging/comedi/drivers/das16.c +++ b/drivers/staging/comedi/drivers/das16.c @@ -444,9 +444,9 @@ struct das16_private_struct { unsigned int divisor1; unsigned int divisor2; struct timer_list timer; - short timer_running; unsigned long extra_iobase; unsigned int can_burst:1; + unsigned int timer_running:1; }; static void das16_interrupt(struct comedi_device *dev)