]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_labpc: move declaration of local var 'irq_flags'
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Mar 2013 16:46:53 +0000 (09:46 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:41:52 +0000 (11:41 -0700)
commitd13f486b85a111122f30a608936c5280324942af
tree143fcf9948914c35a057431a90eb6c9c442f1086
parentf68fce0fed6b45442afae70249ee7500065c3a23
staging: comedi: ni_labpc: move declaration of local var 'irq_flags'

In labpc_ai_cmd(), move the declaration of the local variable
'irq_flags' to remove the need for the extra #ifdef/#endif.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c