]> git.sur5r.net Git - u-boot/commitdiff
common: Drop inclusion of pci.h
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:22:34 +0000 (08:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 15:02:26 +0000 (11:02 -0400)
This should not be in common.h - remove it and update the only file that
needs it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/sm501.c
include/common.h

index cafaae5f31a548929ec8773908661441b1454d00..a468bd96ad798520462e112eb4a163688d4f8b70 100644 (file)
@@ -16,6 +16,7 @@
 #include <common.h>
 
 #include <asm/io.h>
+#include <pci.h>
 #include <video_fb.h>
 #include <sm501.h>
 
index 45f190a600f58b39b140f3638ce6530e2636e4eb..a6347e0167a8caca7385031cc7ea79b8cc741cb2 100644 (file)
@@ -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)      || \