]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: move COMEDI_SRF_... macros to "comedi_fops.c"
authorIan Abbott <abbotti@mev.co.uk>
Tue, 21 Apr 2015 12:18:11 +0000 (13:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 15:15:59 +0000 (17:15 +0200)
commit6d17123c0aaac318ee6aa30166b4e42afe806272
tree5735fbbd31ca2d2ccfcc78fc45732ccd11e0f54d
parent14bd69906eb53707643f0d1b00f6b5f64a592855
staging: comedi: move COMEDI_SRF_... macros to "comedi_fops.c"

The `COMEDI_SRF_...` macros define flag combinations in the `runflags`
member of `struct comedi_subdevice`.  They are only used directly in
"comedi_fops.c", so move them to there.

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