X-Git-Url: http://pileus.org/git/?p=~andy%2Flinux;a=blobdiff_plain;f=drivers%2Facpi%2Fbus.c;h=fcb59c21c68d5c53696a29749d88792f58bc4a64;hp=384da5ab595573a0daf9faf22fa3815889fadcb8;hb=82e180598b54873553fb1d285fb0c90fc54f8f23;hpb=a951c773bc39677ef3fa42814be7f5218a3100b2 diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 384da5ab595..fcb59c21c68 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -33,6 +33,7 @@ #include #include #include +#include #ifdef CONFIG_X86 #include #endif @@ -509,6 +510,14 @@ void __init acpi_early_init(void) goto error0; } + /* + * If the system is using ACPI then we can be reasonably + * confident that any regulators are managed by the firmware + * so tell the regulator core it has everything it needs to + * know. + */ + regulator_has_full_constraints(); + return; error0: