staging: comedi: jr3_pci: separate out poll state enum
authorIan Abbott <abbotti@mev.co.uk>
Fri, 17 Feb 2017 11:09:15 +0000 (11:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:16:58 +0000 (09:16 +0100)
commitde98befe56960dbeea0501d3cefa42c89825e39f
tree20cfd5321b7586c3a991962dde2d61749ec3b8fd
parentdc5761db873f8fc03105a43e97970ee4b862e1e1
staging: comedi: jr3_pci: separate out poll state enum

The type of the `state` member of `struct jr3_pci_subdev_private` is
defined in-situ as an enumerated type without a tag.  For aesthetic
reasons, define the type as `enum jr3_pci_poll_state` outside the
containing `struct`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/jr3_pci.c