x86: apl: Fix the header order in pmc
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:45 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commit8d0defa44b7faf2eee13a37b525a5c0802d40517
treec4a890f00c219af93ecea02108615be93f34725e
parent72db28ee6833ee2bd1ce6dd9148f49538409c58c
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>
arch/x86/cpu/apollolake/pmc.c