From: H Hartley Sweeten Date: Fri, 4 May 2012 23:49:45 +0000 (-0700) Subject: staging: comedi: refactor dt3000 driver to remove forward declarations X-Git-Tag: v3.5-rc1~145^2~181 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15362c5ec49bbb5d7b244d2db2e1779f3220c04a;p=pandora-kernel.git staging: comedi: refactor dt3000 driver to remove 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. Also, refactor a couple of the pci helper functions used during the attach. The 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