The layerscape header should not include dm.h so remove it. Signed-off-by: Simon Glass <sjg@chromium.org>
@@ -8,7 +8,7 @@
#ifndef _PCIE_LAYERSCAPE_H_
#define _PCIE_LAYERSCAPE_H_
#include <pci.h>
-#include <dm.h>
+
#include <linux/sizes.h>
#ifndef CONFIG_SYS_PCI_MEMORY_BUS
@@ -6,6 +6,7 @@
*/
#include <common.h>
+#include <dm.h>
#include <init.h>
#include <log.h>
@@ -9,7 +9,6 @@
#ifndef _PCIE_LAYERSCAPE_GEN4_H_
#define _PCIE_LAYERSCAPE_GEN4_H_
#include <linux/bitops.h>
#ifndef CONFIG_SYS_PCI_MEMORY_SIZE
@@ -8,6 +8,7 @@
#include <asm/arch/fsl_serdes.h>