Matthew Garrett 56480287f9 ipmi: make sure drivers were registered before unregistering them
The ipmi code will never register a PCI or Open Firmware driver if a
hardcoded device is provided by the user by providing device addresses via
the module parameters.  This can cause us to attempt to unregister a
driver that was never registered, resulting in an oops.  Keep track of
registration in order to avoid this.

Fixes a post-2.6.34 regression.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-29 15:29:31 -07:00
..
2009-09-24 07:21:03 -07:00
2010-06-15 09:26:28 +10:00
2010-04-23 02:08:44 +02:00
2010-05-17 03:06:12 +02:00
2010-06-04 15:21:44 -07:00
2009-12-10 22:55:36 +01:00
2010-05-27 09:12:50 -07:00
2010-06-04 13:37:17 -07:00
2009-07-12 12:22:34 -07:00
2010-05-27 09:12:50 -07:00
2010-05-27 09:12:50 -07:00
2010-05-20 19:55:01 +10:00
2009-07-12 12:22:34 -07:00
2009-02-22 09:23:02 -08:00
2009-06-11 08:51:01 -07:00
2010-05-21 09:34:31 -07:00
2009-07-12 12:22:34 -07:00
2009-09-01 01:13:31 -07:00
2010-06-09 08:13:56 -07:00
2009-10-14 17:36:53 +02:00
2010-01-04 12:31:21 -08:00
2010-03-02 14:43:22 -08:00