Message ID | 1261123021-22836-2-git-send-email-yakui.zhao@intel.com (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 679cd08..99fecd2 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -3195,6 +3195,10 @@ static __devinit int init_ipmi_si(void) printk(KERN_INFO "IPMI System Interface driver.\n"); +#ifdef CONFIG_PNP + pnp_register_driver(&ipmi_pnp_driver); +#endif + hardcode_find_bmc(); #ifdef CONFIG_DMI @@ -3204,9 +3208,6 @@ static __devinit int init_ipmi_si(void) #ifdef CONFIG_ACPI spmi_find_bmc(); #endif -#ifdef CONFIG_PNP - pnp_register_driver(&ipmi_pnp_driver); -#endif #ifdef CONFIG_PCI rv = pci_register_driver(&ipmi_pci_driver);