Commit:     10fb62e5b72c2485c3e0efd8b103254c0d087676
Parent:     8fe1425a60fdf6c51a41b95542416d7124587c34
Author:     Christian Krafft <[EMAIL PROTECTED]>
AuthorDate: Sat May 12 10:37:01 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sat May 12 10:55:40 2007 -0700

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Corey Minyard <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/char/ipmi/ipmi_si_intf.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 4769cc2..78e1b96 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2974,6 +2974,10 @@ static __devinit int init_ipmi_si(void)
 #ifdef CONFIG_PCI
+               of_unregister_platform_driver(&ipmi_of_platform_driver);
                printk("ipmi_si: Unable to find any System Interface(s)\n");
                return -ENODEV;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to