From: Tilman Schmidt Date: Sun, 14 Mar 2010 12:58:05 +0000 (+0000) Subject: gigaset: avoid registering CAPI driver more than once X-Git-Tag: v2.6.34-rc2~28^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc35b4e347c047fb1c665bb761ddb22482539f7f;p=pandora-kernel.git gigaset: avoid registering CAPI driver more than once Registering/unregistering the Gigaset CAPI driver when a device is connected/disconnected causes an Oops when disconnecting two Gigaset devices in a row, because the same capi_driver structure gets unregistered twice. Fix by making driver registration/unregistration a separate operation (empty in the ISDN4Linux case) called when the main module is loaded/unloaded. Impact: bugfix Signed-off-by: Tilman Schmidt Acked-by: Karsten Keil CC: stable@kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed