staging: comedi: refactor me4000 driver to remove forward declarations
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 4 May 2012 22:51:25 +0000 (15:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:33:40 +0000 (13:33 -0700)
commit3af09830558dde82602366637dec84d63ff724d7
tree8a48dbc272af482ea930fd0d4fab762adb9e6349
parent4d76714b03e6f69aee316a2fa467811796076607
staging: comedi: refactor me4000 driver to remove forward declarations

Move the struct comedi_driver, attach/detach functions, and
associated variables to the end of the source. This is more
typical of how other drivers are written and removes the need
for most of 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/me4000.c