[PATCH v3 7/9] fbdev: remove the unnecessary includes of ppc specific header files

Kevin Hao haokexin at gmail.com
Thu Mar 12 23:32:48 AEDT 2015


In the current kernel, we don't need to include these arch specific
header files for ppc.

Signed-off-by: Kevin Hao <haokexin at gmail.com>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Acked-by: Tomi Valkeinen <tomi.valkeinen at ti.com>
---
 drivers/video/fbdev/core/fbmon.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/video/fbdev/core/fbmon.c b/drivers/video/fbdev/core/fbmon.c
index 868facdec638..01ef1b953390 100644
--- a/drivers/video/fbdev/core/fbmon.c
+++ b/drivers/video/fbdev/core/fbmon.c
@@ -33,10 +33,6 @@
 #include <video/edid.h>
 #include <video/of_videomode.h>
 #include <video/videomode.h>
-#ifdef CONFIG_PPC_OF
-#include <asm/prom.h>
-#include <asm/pci-bridge.h>
-#endif
 #include "../edid.h"
 
 /*
-- 
2.1.0



More information about the Linuxppc-dev mailing list