]> git.sur5r.net Git - u-boot/blobdiff - drivers/pci/pci_indirect.c
spi: mxc: Fix compilation problem of DM_SPI class driver
[u-boot] / drivers / pci / pci_indirect.c
index 4a36749aa42c05ed5433629c5c37c1e8f837d0c7..6134c22d1bccf0fe7810f07a68196865587d1491 100644 (file)
@@ -1,14 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Support for indirect PCI bridges.
  *
  * Copyright (C) 1998 Gabriel Paubert.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 
-#if !defined(__I386__)
+#if !defined(__I386__) && !defined(CONFIG_DM_PCI)
 
 #include <asm/processor.h>
 #include <asm/io.h>