diff options
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 9b9e1e915cf6..5b7bf7d22494 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -3306,17 +3306,6 @@ static __devinit int init_ipmi_si(void) | |||
3306 | } | 3306 | } |
3307 | mutex_unlock(&smi_infos_lock); | 3307 | mutex_unlock(&smi_infos_lock); |
3308 | 3308 | ||
3309 | #ifdef CONFIG_DMI | ||
3310 | dmi_find_bmc(); | ||
3311 | #endif | ||
3312 | |||
3313 | #ifdef CONFIG_ACPI | ||
3314 | spmi_find_bmc(); | ||
3315 | #endif | ||
3316 | #ifdef CONFIG_ACPI | ||
3317 | pnp_register_driver(&ipmi_pnp_driver); | ||
3318 | #endif | ||
3319 | |||
3320 | #ifdef CONFIG_PCI | 3309 | #ifdef CONFIG_PCI |
3321 | rv = pci_register_driver(&ipmi_pci_driver); | 3310 | rv = pci_register_driver(&ipmi_pci_driver); |
3322 | if (rv) | 3311 | if (rv) |
@@ -3325,6 +3314,18 @@ static __devinit int init_ipmi_si(void) | |||
3325 | rv); | 3314 | rv); |
3326 | #endif | 3315 | #endif |
3327 | 3316 | ||
3317 | #ifdef CONFIG_ACPI | ||
3318 | pnp_register_driver(&ipmi_pnp_driver); | ||
3319 | #endif | ||
3320 | |||
3321 | #ifdef CONFIG_DMI | ||
3322 | dmi_find_bmc(); | ||
3323 | #endif | ||
3324 | |||
3325 | #ifdef CONFIG_ACPI | ||
3326 | spmi_find_bmc(); | ||
3327 | #endif | ||
3328 | |||
3328 | #ifdef CONFIG_PPC_OF | 3329 | #ifdef CONFIG_PPC_OF |
3329 | of_register_platform_driver(&ipmi_of_platform_driver); | 3330 | of_register_platform_driver(&ipmi_of_platform_driver); |
3330 | #endif | 3331 | #endif |