From: H Hartley Sweeten Date: Tue, 23 Apr 2013 01:31:47 +0000 (-0700) Subject: staging: comedi: das800: move module_{init, exit} to end of file X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79a8c0e20eb9f0cb6aaaab87c56addff606d19fe;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed