From: H Hartley Sweeten Date: Fri, 27 Apr 2012 22:39:37 +0000 (-0700) Subject: staging: comedi: refactor pcmmio driver to remove forward declarations X-Git-Tag: v3.5-rc1~145^2~229^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2bb98e179cb06590aa86be5ff12e53ab382c926;p=pandora-kernel.git staging: comedi: refactor pcmmio driver to remove forward declarations Refactor the switch_page and pcmmio_stop_intr functions to avoid needing the forward declarations. Move the module_init/module_exit routines and the associated struct comedi_driver and other variables to the end of the source. This is more typical of how other drivers are written and removes the need for the forward declarations. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed