Преглед на файлове

pci: Drop dm.h inclusion from header file

The layerscape header should not include dm.h so remove it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Simon Glass преди 3 години
родител
ревизия
51a4a857b3
променени са 4 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 1 1
      drivers/pci/pcie_layerscape.h
  2. 1 0
      drivers/pci/pcie_layerscape_fixup.c
  3. 0 1
      drivers/pci/pcie_layerscape_gen4.h
  4. 1 0
      drivers/pci/pcie_layerscape_gen4_fixup.c

+ 1 - 1
drivers/pci/pcie_layerscape.h

@@ -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

+ 1 - 0
drivers/pci/pcie_layerscape_fixup.c

@@ -6,6 +6,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <init.h>
 #include <log.h>
 #include <pci.h>

+ 0 - 1
drivers/pci/pcie_layerscape_gen4.h

@@ -9,7 +9,6 @@
 #ifndef _PCIE_LAYERSCAPE_GEN4_H_
 #define _PCIE_LAYERSCAPE_GEN4_H_
 #include <pci.h>
-#include <dm.h>
 #include <linux/bitops.h>
 
 #ifndef CONFIG_SYS_PCI_MEMORY_SIZE

+ 1 - 0
drivers/pci/pcie_layerscape_gen4_fixup.c

@@ -8,6 +8,7 @@
  */
 
 #include <common.h>
+#include <dm.h>
 #include <log.h>
 #include <pci.h>
 #include <asm/arch/fsl_serdes.h>