diff options
| author | 2012-05-01 17:03:48 -0700 | |
|---|---|---|
| committer | 2012-05-02 15:53:43 -0700 | |
| commit | 2d2111ea2cf25cc60f7027130ceb34af2d03745d (patch) | |
| tree | bb177d25af51dd771f146bc8cd909335c92ce1c0 /include/linux/flex_array.h | |
| parent | Merge 3.4-rc5 into staging-next (diff) | |
staging: comedi: fix build errors caused by module_init/module_exit refactor
A couple build errors were introduced with the module_init/module_exit
refactor.
The struct comedi_driver variable was being accessed directly in the
attach and detach routines. Instead of doing this, access the variable
indirectly using the driver pointer in struct comedi_device.
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>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
