Commit 2a8f0934 authored by Christophe Leroy's avatar Christophe Leroy Committed by Helge Deller

video: fbdev: aty/matrox/...: Prepare cleanup of powerpc's asm/prom.h

powerpc's asm/prom.h brings some headers that it doesn't
need itself.

In order to clean it up, first add missing headers in
users of asm/prom.h
Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 5c6d8b23
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
#ifdef CONFIG_PPC_PMAC #ifdef CONFIG_PPC_PMAC
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/pmac_feature.h> #include <asm/pmac_feature.h>
#include <asm/prom.h>
#include "../macmodes.h" #include "../macmodes.h"
#endif #endif
......
...@@ -79,7 +79,6 @@ ...@@ -79,7 +79,6 @@
#ifdef __powerpc__ #ifdef __powerpc__
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/prom.h>
#include "../macmodes.h" #include "../macmodes.h"
#endif #endif
#ifdef __sparc__ #ifdef __sparc__
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#ifdef CONFIG_PPC_PMAC #ifdef CONFIG_PPC_PMAC
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/prom.h>
#include <asm/pmac_feature.h> #include <asm/pmac_feature.h>
#endif #endif
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <asm/io.h> #include <asm/io.h>
#if defined(CONFIG_PPC) || defined(CONFIG_SPARC) #ifdef CONFIG_SPARC
#include <asm/prom.h> #include <asm/prom.h>
#endif #endif
......
...@@ -47,9 +47,6 @@ ...@@ -47,9 +47,6 @@
#include <linux/nvram.h> #include <linux/nvram.h>
#include <linux/adb.h> #include <linux/adb.h>
#include <linux/cuda.h> #include <linux/cuda.h>
#ifdef CONFIG_PPC_PMAC
#include <asm/prom.h>
#endif
#ifdef CONFIG_BOOTX_TEXT #ifdef CONFIG_BOOTX_TEXT
#include <asm/btext.h> #include <asm/btext.h>
#endif #endif
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#include <asm/unaligned.h> #include <asm/unaligned.h>
#if defined(CONFIG_PPC_PMAC) #if defined(CONFIG_PPC_PMAC)
#include <asm/prom.h>
#include "../macmodes.h" #include "../macmodes.h"
#endif #endif
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/pci.h> #include <linux/pci.h>
#if defined(CONFIG_OF) #if defined(CONFIG_OF)
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#endif #endif
#include "mb862xxfb.h" #include "mb862xxfb.h"
......
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
#include <linux/fb.h> #include <linux/fb.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/nvram.h> #include <linux/nvram.h>
#include <linux/of_address.h>
#include <linux/of_device.h> #include <linux/of_device.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <asm/prom.h>
#include "macmodes.h" #include "macmodes.h"
#include "platinumfb.h" #include "platinumfb.h"
......
...@@ -54,10 +54,9 @@ ...@@ -54,10 +54,9 @@
#include <linux/nvram.h> #include <linux/nvram.h>
#include <linux/adb.h> #include <linux/adb.h>
#include <linux/cuda.h> #include <linux/cuda.h>
#include <linux/of_address.h>
#ifdef CONFIG_MAC #ifdef CONFIG_MAC
#include <asm/macintosh.h> #include <asm/macintosh.h>
#else
#include <asm/prom.h>
#endif #endif
#include "macmodes.h" #include "macmodes.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment