staging: comedi: refactor fl512 driver to remove forward declarations
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 28 Apr 2012 00:31:27 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 01:42:50 +0000 (21:42 -0400)
commita39eb9061b4d16f0760fff0022e6b6e826275386
tree793cebe155a8378d22445b68417b1896f50ee77d
parent236788fcf0ecead56090d7d061f51974bdfed4a0
staging: comedi: refactor fl512 driver to remove forward declarations

Move the module_init/module_exit routines and the associated
struct comedi_driver and other variables to the end of the source.
This is more typical of how other drivers are written and removes
the need for the forward declarations.

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