diff options
| -rw-r--r-- | drivers/acpi/bus.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 0710004055c8..296bec89f4a1 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #include <linux/proc_fs.h> | 33 | #include <linux/proc_fs.h> |
| 34 | #include <linux/acpi.h> | 34 | #include <linux/acpi.h> |
| 35 | #include <linux/slab.h> | 35 | #include <linux/slab.h> |
| 36 | #include <linux/regulator/machine.h> | ||
| 36 | #ifdef CONFIG_X86 | 37 | #ifdef CONFIG_X86 |
| 37 | #include <asm/mpspec.h> | 38 | #include <asm/mpspec.h> |
| 38 | #endif | 39 | #endif |
| @@ -576,6 +577,14 @@ void __init acpi_early_init(void) | |||
| 576 | goto error0; | 577 | goto error0; |
| 577 | } | 578 | } |
| 578 | 579 | ||
| 580 | /* | ||
| 581 | * If the system is using ACPI then we can be reasonably | ||
| 582 | * confident that any regulators are managed by the firmware | ||
| 583 | * so tell the regulator core it has everything it needs to | ||
| 584 | * know. | ||
| 585 | */ | ||
| 586 | regulator_has_full_constraints(); | ||
| 587 | |||
| 579 | return; | 588 | return; |
| 580 | 589 | ||
| 581 | error0: | 590 | error0: |
