From: Stefan Richter Date: Wed, 29 Mar 2006 00:54:52 +0000 (-0500) Subject: sbp2: prevent unloading of 1394 low-level driver X-Git-Tag: v2.6.17-rc1~167^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147830f297f369fa8731a75e3e4c7c7cd5c3e868;p=pandora-kernel.git sbp2: prevent unloading of 1394 low-level driver When a new SBP-2 unit is added, sbp2 now takes a reference on the 1394 low-level driver (ohci1394 or pcilynx). This prevents the 1394 host driver module from being unloaded, e.g. by an administrative routine cleanup of unused kernel modules or when another 1394 driver which depends on ohci1394 is unloaded. The reference is dropped when the SBP-2 unit was disconnected, when sbp2 is unloaded or detached from the unit, or when addition of the SBP-2 unit failed. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre --- Reading git-diff-tree failed