staging: comedi: ni_6527: move ni6527_driver
authorIan Abbott <abbotti@mev.co.uk>
Fri, 14 Sep 2012 16:34:01 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 12:09:03 +0000 (05:09 -0700)
commitfcdd5ecd66db871befa755df768bf43fbe38d383
tree5837c84e9876521402d2acc9081a0711f1e32d79
parent7ae09413c7195f87d02e7fd0a67ba6dafbab4546
staging: comedi: ni_6527: move ni6527_driver

Move the `struct comedi_driver ni6527_driver` variable further down the
function to be closer to the `module_comedi_pci_driver()` module call
and to avoid having to forward declare `ni6527_attach()` and
`ni6527_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_6527.c