From: H Hartley Sweeten Date: Wed, 2 May 2012 00:03:48 +0000 (-0700) Subject: staging: comedi: fix build errors caused by module_init/module_exit refactor X-Git-Tag: v3.5-rc1~145^2~228 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d2111ea2cf25cc60f7027130ceb34af2d03745d;p=pandora-kernel.git 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 Cc: Ian Abbott Cc: Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed