From: H Hartley Sweeten Date: Mon, 23 Apr 2012 22:57:48 +0000 (-0700) Subject: staging: comedi: refactor adq12b driver to remove forward declarations X-Git-Tag: v3.5-rc1~145^2~229^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=632d391b3572673fc272a6fd74e5c753065eca1c;p=pandora-kernel.git staging: comedi: refactor adq12b driver to remove forward declarations Move the module_init/module_exit routines and the associated struct comedi_driver and struct boardtype variables to the end of the source as is more typically done with other drivers. Then rearrange the attach/detach functions, this removes the need for all the forward declarations. 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