linux/arch/arm/mach-exynos
Bartlomiej Zolnierkiewicz 0d713cf1a6 ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y
Fix building of exynos_defconfig with CONFIG_PM_SLEEP disabled and
CONFIG_ARM_EXYNOS_CPUIDLE enabled by:

* adding EXYNOS_CPU_SUSPEND config option
* always building sleep.o
* building pm.o if EXYNOS_CPU_SUSPEND is enabled
* moving suspend specific code from pm.c to suspend.c
* enabling pm-common.o build also for EXYNOS_CPU_SUSPEND option

[ Please note that there are no changes in the code moved from pm.c
  to suspend.c except making few functions non-static and cleaning
  up includes. ]

Also while at it update Copyright dates.

The build error messages:
drivers/built-in.o: In function `exynos_enter_core0_aftr':
/home/bzolnier/linux/drivers/cpuidle/cpuidle-exynos.c:36: undefined reference to `cpu_suspend'
arch/arm/mach-exynos/built-in.o:(.data+0x74): undefined reference to `exynos_enter_aftr'
make: *** [vmlinux] Error 1

This patch has been tested on Exynos4210 based Origen board.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
2014-10-21 00:06:36 +09:00
..
include/mach ARM: EXYNOS: remove unused <mach/memory.h> 2014-08-18 09:04:05 -05:00
common.h ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
exynos-smc.S ARM: EXYNOS: Add support for secure monitor calls 2013-04-09 01:52:06 +09:00
exynos.c ARM: EXYNOS: allow driver usage on Exynos4x12 SoCs 2014-10-21 00:06:36 +09:00
firmware.c ARM: EXYNOS: add secure firmware support to AFTR mode code 2014-10-21 00:06:36 +09:00
headsmp.S ARM: EXYNOS: Remove file path from comment section 2014-07-15 08:40:32 +09:00
hotplug.c ARM: SoC cleanups for 3.17 2014-08-08 11:00:26 -07:00
Kconfig ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
Makefile ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
Makefile.boot ARM: dts: Add basic dts file for Samsung Trats board 2012-09-21 10:50:27 +09:00
mcpm-exynos.c ARM: 8129/1: errata: work around Cortex-A15 erratum 830321 using dummy strex 2014-08-27 15:40:13 +01:00
mfc.h ARM: SAMSUNG: Reorganize calls to reserve memory for MFC 2014-03-21 02:00:09 +09:00
platsmp.c ARM: EXYNOS: Do not calculate boot address twice 2014-09-14 02:31:19 +09:00
pm_domains.c ARM: exynos: Move to generic PM domain DT bindings 2014-09-22 15:57:40 +02:00
pm.c ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
pmu.c ARM: EXYNOS: Move Disabling of JPEG USE_RETENTION for exynos5250 to pmu.c 2014-10-21 00:06:35 +09:00
regs-pmu.h ARM: EXYNOS: Refactor the pm code to use DT based lookup 2014-10-21 00:06:35 +09:00
regs-sys.h ARM: EXYNOS: Move SYSREG definition into sys-reg specific file 2014-07-15 08:40:31 +09:00
sleep.S ARM: EXYNOS: Add support for firmware-assisted suspend/resume 2014-10-21 00:06:35 +09:00
smc.h ARM: EXYNOS: Add support for firmware-assisted suspend/resume 2014-10-21 00:06:35 +09:00
suspend.c ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00