kernel_optimize_test/arch/arm/plat-samsung
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/plat Merge branch 'cleanup/gpio-header-removal' into next/soc 2014-07-26 18:00:40 +02:00
adc.c ARM: S5PC100: no more support S5PC100 SoC 2014-07-13 07:35:11 +09:00
cpu.c ARM: SAMSUNG: Remove remaining legacy code 2014-07-19 04:32:18 +09:00
dev-backlight.c ARM: SAMSUNG: remove GPIO flags in dev-backlight 2014-05-07 10:15:20 +02:00
dev-uart.c
devs.c ARM: SAMSUNG: Remove remaining legacy code 2014-07-19 04:32:18 +09:00
dma-ops.c
dma.c
init.c ARM: SAMSUNG: Remove legacy clock code 2014-07-19 04:24:59 +09:00
Kconfig ARM: SAMSUNG: Restore Samsung PM Debug functionality 2014-09-24 02:47:43 +09:00
Makefile ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y 2014-10-21 00:06:36 +09:00
platformdata.c
pm-check.c
pm-common.c
pm-debug.c ARM: SAMSUNG: Restore Samsung PM Debug functionality 2014-09-24 02:47:43 +09:00
pm-gpio.c Merge branch 'cleanup/gpio-header-removal' into next/soc 2014-07-26 18:00:40 +02:00
pm.c
s3c-dma-ops.c
s5p-dev-mfc.c ARM: SAMSUNG: Remove remaining legacy code 2014-07-19 04:32:18 +09:00
setup-camif.c
wakeup-mask.c
watchdog-reset.c