diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-15 17:25:45 +1300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-22 19:23:29 +1300 |
commit | ec3800e310def572d3a9d7950eb17e290c1320bf (patch) | |
tree | 2ba4e9191b16f8c9a8ae916f08391944c478776b | |
parent | ed7ef521b30562f5f517409fc690810da43629da (diff) | |
download | u-boot-ec3800e310def572d3a9d7950eb17e290c1320bf.zip u-boot-ec3800e310def572d3a9d7950eb17e290c1320bf.tar.gz u-boot-ec3800e310def572d3a9d7950eb17e290c1320bf.tar.bz2 |
x86: apl: Fix the header order in pmc
The dm.h header should come first. In fact it needs to, since otherwise
the driver model definitions are not available to dt-structs.h
Fix this, since it causes problems with OF_PLATDATA_INST.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/x86/cpu/apollolake/pmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/apollolake/pmc.c b/arch/x86/cpu/apollolake/pmc.c index e23d38e..1d21187 100644 --- a/arch/x86/cpu/apollolake/pmc.c +++ b/arch/x86/cpu/apollolake/pmc.c @@ -9,8 +9,8 @@ #define LOG_CATEGORY UCLASS_ACPI_PMC #include <common.h> -#include <dt-structs.h> #include <dm.h> +#include <dt-structs.h> #include <log.h> #include <spl.h> #include <acpi/acpi_s3.h> |