]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: refactor dyna_pci10xx driver to remove forward declarations
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 4 May 2012 23:31:58 +0000 (16:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:33:41 +0000 (13:33 -0700)
commitde9f2db41e6037fc4b9944edc62025327e4b9589
treee7312b1142af1464ab5bdb4f40404d947a8c66bc
parentd79fc8e161c56626b67226198871c16aa0fcad15
staging: comedi: refactor dyna_pci10xx driver to remove forward declarations

Move the struct comedi_driver and associated 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 <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dyna_pci10xx.c