[U-Boot] [PATCH 01/38] common: Drop inclusion of pci.h
Simon Glass
sjg at chromium.org
Wed May 17 14:22:34 UTC 2017
This should not be in common.h - remove it and update the only file that
needs it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/video/sm501.c | 1 +
include/common.h | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/sm501.c b/drivers/video/sm501.c
index cafaae5f31..a468bd96ad 100644
--- a/drivers/video/sm501.c
+++ b/drivers/video/sm501.c
@@ -16,6 +16,7 @@
#include <common.h>
#include <asm/io.h>
+#include <pci.h>
#include <video_fb.h>
#include <sm501.h>
diff --git a/include/common.h b/include/common.h
index 45f190a600..a6347e0167 100644
--- a/include/common.h
+++ b/include/common.h
@@ -30,9 +30,6 @@ typedef volatile unsigned char vu_char;
#include <asm/ptrace.h>
#include <stdarg.h>
#include <linux/kernel.h>
-#if defined(CONFIG_PCI) && defined(CONFIG_4xx)
-#include <pci.h>
-#endif
#if defined(CONFIG_8xx)
#include <asm/8xx_immap.h>
#if defined(CONFIG_MPC859) || defined(CONFIG_MPC859T) || \
--
2.13.0.303.g4ebf302169-goog
More information about the U-Boot
mailing list