Browse Source

ARM: EXYNOS: remove unnecessary header inclusions from exynos4/5 dt machine file

mach-exynos{4,5}-dt.c include several header files that are not
really used.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Jingoo Han 11 years ago
parent
commit
cbee750e19
2 changed files with 0 additions and 8 deletions
  1. 0 4
      arch/arm/mach-exynos/mach-exynos4-dt.c
  2. 0 4
      arch/arm/mach-exynos/mach-exynos5-dt.c

+ 0 - 4
arch/arm/mach-exynos/mach-exynos4-dt.c

@@ -11,12 +11,8 @@
  * published by the Free Software Foundation.
 */
 
-#include <linux/kernel.h>
 #include <linux/of_platform.h>
 #include <linux/of_fdt.h>
-#include <linux/serial_core.h>
-#include <linux/memblock.h>
-#include <linux/clocksource.h>
 
 #include <asm/mach/arch.h>
 #include <plat/mfc.h>

+ 0 - 4
arch/arm/mach-exynos/mach-exynos5-dt.c

@@ -11,14 +11,10 @@
 
 #include <linux/of_platform.h>
 #include <linux/of_fdt.h>
-#include <linux/memblock.h>
 #include <linux/io.h>
-#include <linux/clocksource.h>
 
 #include <asm/mach/arch.h>
 #include <mach/regs-pmu.h>
-
-#include <plat/cpu.h>
 #include <plat/mfc.h>
 
 #include "common.h"