]> err.no Git - linux-2.6/commit
IPMI: Add PPC openfirmware unregister
authorChristian Krafft <krafft@de.ibm.com>
Sat, 12 May 2007 17:37:01 +0000 (10:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 12 May 2007 17:55:40 +0000 (10:55 -0700)
commit10fb62e5b72c2485c3e0efd8b103254c0d087676
tree967bad39b01a7927ddbf6571b18ee5fcef8506c1
parent8fe1425a60fdf6c51a41b95542416d7124587c34
IPMI: Add PPC openfirmware unregister

When trying to load the ipmi_si module on a powerpc with no BMC (baseboard
management controller) the driver failes to load correctly, but doesn't
unregister itself from of_platform.  So, on a second modprobe the kernel
crashes.  This patch adds the missing unregister call.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c