linux/arch/arm/mach-s3c2440
Heiko Stuebner c1ba544f81 ARM: S3C24XX: Fix restart on S3C2442
Commit b27b072791 (ARM: 7265/1: restart: S3C24XX: use new restart hook)
introduced the new restart hook also for the S3C244x cpus, but it
was only defined in the S3C2440 scope, i.e. when CPU_S3C2440 was
selected. Devices using the S3C2442 like the GTA02 normally don't select
this CPU which leads to compilation errors like:
    LD      .tmp_vmlinux1
  arch/arm/mach-s3c2440/built-in.o:(.arch.info.init+0x3c): undefined reference
to `s3c2440_restart'
  make: *** [.tmp_vmlinux1] Error 1

Therefore move the s3c2440_restart function to s3c244x.c which is
common to both cpus and also fix the naming to reflect this.

Reported-and-tested-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2012-03-01 13:23:32 +09:00
..
include/mach ARM: S3C2440: Fix usage gpio bank j pin definitions on GTA02 2011-03-04 15:46:26 +09:00
Kconfig ARM: SAMSUNG: Remove useless Samsung GPIO related CONFIGs 2011-09-21 15:07:05 +09:00
Makefile ARM: S3C2440: Add HP iPAQ RX1950 machine support 2010-05-12 09:19:01 +09:00
clock.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
common.h ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
dma.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
dsc.c ARM: S3C244X: Merge plat-s3c24xx s3c2440.h and s3c2442.h into s3c244x.h 2010-02-01 17:56:46 +00:00
irq.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
mach-anubis.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-at2440evb.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-gta02.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-mini2440.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-nexcoder.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-osiris-dvs.c ARM: OSIRIS: DVS (Dynamic Voltage Scaling) supoort. 2009-12-01 01:33:49 +00:00
mach-osiris.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-rx1950.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-rx3715.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
mach-smdk2440.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
s3c244x-clock.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
s3c244x-irq.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
s3c244x.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
s3c2440-cpufreq.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
s3c2440-pll-12000000.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
s3c2440-pll-16934400.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00
s3c2440.c ARM: S3C24XX: Fix restart on S3C2442 2012-03-01 13:23:32 +09:00
s3c2442.c ARM: SAMSUNG: Fix missing api-change from subsys_interface change 2012-01-27 15:35:47 +09:00