staging: comedi: refactor adl_pci7230 driver to remove forward declarations
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 23 Apr 2012 22:16:23 +0000 (15:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:38:36 +0000 (11:38 -0700)
commita10a5d6f62b7b08350e7f0fb3b5331abc51ba492
tree7c9c5ade17b6b9dfe7d4feaa6f702ff358486a5e
parentdb0eaeed6493fed37382fc98e06b2708aeaedaaa
staging: comedi: refactor adl_pci7230 driver to remove forward declarations

Move the struct comedi_driver variable and the associated
attach/detach routines to remove 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>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci7230.c