summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/sm501.c1
-rw-r--r--include/common.h3
2 files changed, 1 insertions, 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) || \