Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Christophe Leroy and committed by
Helge Deller
2a8f0934 5c6d8b23

+5 -11
-1
drivers/video/fbdev/aty/aty128fb.c
··· 68 68 #ifdef CONFIG_PPC_PMAC 69 69 #include <asm/machdep.h> 70 70 #include <asm/pmac_feature.h> 71 - #include <asm/prom.h> 72 71 #include "../macmodes.h" 73 72 #endif 74 73
-1
drivers/video/fbdev/aty/atyfb_base.c
··· 79 79 80 80 #ifdef __powerpc__ 81 81 #include <asm/machdep.h> 82 - #include <asm/prom.h> 83 82 #include "../macmodes.h" 84 83 #endif 85 84 #ifdef __sparc__
-1
drivers/video/fbdev/aty/radeon_pm.c
··· 22 22 23 23 #ifdef CONFIG_PPC_PMAC 24 24 #include <asm/machdep.h> 25 - #include <asm/prom.h> 26 25 #include <asm/pmac_feature.h> 27 26 #endif 28 27
+1 -1
drivers/video/fbdev/aty/radeonfb.h
··· 21 21 22 22 #include <asm/io.h> 23 23 24 - #if defined(CONFIG_PPC) || defined(CONFIG_SPARC) 24 + #ifdef CONFIG_SPARC 25 25 #include <asm/prom.h> 26 26 #endif 27 27
-3
drivers/video/fbdev/controlfb.c
··· 47 47 #include <linux/nvram.h> 48 48 #include <linux/adb.h> 49 49 #include <linux/cuda.h> 50 - #ifdef CONFIG_PPC_PMAC 51 - #include <asm/prom.h> 52 - #endif 53 50 #ifdef CONFIG_BOOTX_TEXT 54 51 #include <asm/btext.h> 55 52 #endif
-1
drivers/video/fbdev/matrox/matroxfb_base.h
··· 47 47 #include <asm/unaligned.h> 48 48 49 49 #if defined(CONFIG_PPC_PMAC) 50 - #include <asm/prom.h> 51 50 #include "../macmodes.h" 52 51 #endif 53 52
+2
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c
··· 18 18 #include <linux/interrupt.h> 19 19 #include <linux/pci.h> 20 20 #if defined(CONFIG_OF) 21 + #include <linux/of_address.h> 22 + #include <linux/of_irq.h> 21 23 #include <linux/of_platform.h> 22 24 #endif 23 25 #include "mb862xxfb.h"
+1 -1
drivers/video/fbdev/platinumfb.c
··· 30 30 #include <linux/fb.h> 31 31 #include <linux/init.h> 32 32 #include <linux/nvram.h> 33 + #include <linux/of_address.h> 33 34 #include <linux/of_device.h> 34 35 #include <linux/of_platform.h> 35 - #include <asm/prom.h> 36 36 37 37 #include "macmodes.h" 38 38 #include "platinumfb.h"
+1 -2
drivers/video/fbdev/valkyriefb.c
··· 54 54 #include <linux/nvram.h> 55 55 #include <linux/adb.h> 56 56 #include <linux/cuda.h> 57 + #include <linux/of_address.h> 57 58 #ifdef CONFIG_MAC 58 59 #include <asm/macintosh.h> 59 - #else 60 - #include <asm/prom.h> 61 60 #endif 62 61 63 62 #include "macmodes.h"