]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] pcmcia: fix 'rmmod pcmcia' with unbound devices
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Sun, 19 Nov 2006 06:19:34 +0000 (22:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Mon, 20 Nov 2006 17:42:05 +0000 (09:42 -0800)
commitdfbc9e9d33adb1ac9910dd7f8ceb911947039a52
tree755da8c537361af066b5072c43f32aa4384b62bf
parent610a5b742e9df4e59047f22d13d8bd83cafce388
[PATCH] pcmcia: fix 'rmmod pcmcia' with unbound devices

Having unbound PCMCIA devices: doing a 'find /sys' after a 'rmmod pcmcia'
gives an oops because the pcmcia_device is not unregisterd from the driver
core.

fixes bugzilla #7481

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Pavol Gono <Palo.Gono@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/ds.c