浏览代码

ep93xx: Remove unnecessary includes of ep93xx-regs.h

Remove the include of ep93xx-regs.h from files which no longer need
it, notably include/mach/hardware.h.

Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Reviewed-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
Ryan Mallon 13 年之前
父节点
当前提交
a6de3df4f1
共有 3 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      arch/arm/mach-ep93xx/crunch.c
  2. 0 1
      arch/arm/mach-ep93xx/include/mach/hardware.h
  3. 2 0
      arch/arm/mach-ep93xx/soc.h

+ 1 - 1
arch/arm/mach-ep93xx/crunch.c

@@ -16,7 +16,7 @@
 #include <linux/sched.h>
 #include <linux/init.h>
 #include <linux/io.h>
-#include <mach/ep93xx-regs.h>
+
 #include <asm/thread_notify.h>
 
 #include "soc.h"

+ 0 - 1
arch/arm/mach-ep93xx/include/mach/hardware.h

@@ -5,7 +5,6 @@
 #ifndef __ASM_ARCH_HARDWARE_H
 #define __ASM_ARCH_HARDWARE_H
 
-#include <mach/ep93xx-regs.h>
 #include <mach/platform.h>
 
 /*

+ 2 - 0
arch/arm/mach-ep93xx/soc.h

@@ -13,6 +13,8 @@
 #ifndef _EP93XX_SOC_H
 #define _EP93XX_SOC_H
 
+#include <mach/ep93xx-regs.h>
+
 /*
  * EP93xx Physical Memory Map:
  *