From: H Hartley Sweeten Date: Fri, 27 Apr 2012 22:28:57 +0000 (-0700) Subject: staging: comedi: refactor pcmuio driver to remove forward declarations X-Git-Tag: v3.5-rc1~145^2~229^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b19f9c6bee7afcd1e5dee9528333b2aa52de404;p=pandora-kernel.git staging: comedi: refactor pcmuio driver to remove forward declarations Refactor the switch_page and pcmuio_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