From: H Hartley Sweeten Date: Mon, 23 Apr 2012 16:38:24 +0000 (-0700) Subject: staging: comedi: refactor 8255 driver to remove forward declarations X-Git-Tag: v3.5-rc1~145^2~229^2~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e699ed17040f7c8474bbeaf834077f78d301e13;p=pandora-kernel.git staging: comedi: refactor 8255 driver to remove forward declarations Move the module_init/module_exit routines and the associated struct comedi_driver variable to the end of the source. This is more typical of how other drivers are written and removes the need for the forward declarations. Also, move the do_config function to remove needing to have a forward declaration for that routine. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Mori Hess Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed