staging: comedi: das800: move module_{init, exit} to end of file
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 23 Apr 2013 01:31:47 +0000 (18:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Apr 2013 17:41:37 +0000 (10:41 -0700)
commit79a8c0e20eb9f0cb6aaaab87c56addff606d19fe
tree46939f4170e8195518964f8c815486340c666c0f
parent7d0a66c0ccfd0ec23645ba2d92593c00d11bf936
staging: comedi: das800: move module_{init, exit} to end of file

The module_comedi_driver() macro provides the module_{init.exit}
code for this driver. Move the macro call and the comedi_driver
declaration to the end of the file. This also removes the need
for the das800_attach() forward declaration.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das800.c