staging: comedi: ni_65xx: move ni_65xx_driver
authorIan Abbott <abbotti@mev.co.uk>
Fri, 14 Sep 2012 16:34:05 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 12:09:04 +0000 (05:09 -0700)
commit2927eda60977fde11a106cd9590cd710cd41884a
tree22cf4257ad8e8784c1731d234a02afd7203249cd
parent7e661293119cff3c726c2d1d5f646ae9a1060b10
staging: comedi: ni_65xx: move ni_65xx_driver

Move the `struct comedi_driver ni_65xx_driver` variable further down the
function to be closer to the `module_comedi_pci_driver()` module call
and to avoid having to forward declare `ni_65xx_attach()` and
`ni_65xx_detach()`.

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/drivers/ni_65xx.c