OSDN Git Service

ARM: 7272/1: S3C24XX: Fix build error for missing <mach/system-reset.h>
authorKukjin Kim <kgene.kim@samsung.com>
Sat, 7 Jan 2012 12:22:53 +0000 (13:22 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Jan 2012 09:27:20 +0000 (09:27 +0000)
Since the arch/arm/mach-s3c2410/include/mach/system-reset.h has
been removed by commit f88b8979 ("ARM: restart: remove the now
empty arch_reset()"), so the inclusion of <mach/system-reset.h>
should be removed at the plat-s3c24xx/cpu.c file.

The build error happens like following:
  arch/arm/plat-s3c24xx/cpu.c:41: fatal error: mach/system-reset.h: No such file or directory

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c24xx/cpu.c

index 1121df1..21f1fda 100644 (file)
@@ -38,8 +38,6 @@
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 
-#include <mach/system-reset.h>
-
 #include <mach/regs-gpio.h>
 #include <plat/regs-serial.h>