linux_dsm_epyc7002/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 ARM: SAMSUNG: Include devs.h in dev-uart.c to prototype devices 2011-03-04 15:46:26 +09:00
devs.c ARM: SAMSUNG: Remove remaining legacy code 2014-07-19 04:32:18 +09:00
dma-ops.c ARM: s3c64xx: Add support for DMA using generic amba-pl08x driver 2013-11-24 14:38:24 +00:00
dma.c ARM: SAMSUNG: DMA Cleanup as per sparse 2011-07-16 15:50:19 +09:00
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 ARM: SAMSUNG: remove all uses of clk_type member in sdhci platform data 2012-04-21 08:24:56 -07:00
pm-check.c ARM: SAMSUNG: Move s3c_pm_check_* prototypes to plat/pm-common.h 2014-03-21 04:09:26 +09:00
pm-common.c ARM: SAMSUNG: Move common save/restore helpers to separate file 2014-03-21 04:09:25 +09:00
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 Samsung PM related 2nd updates for v3.15 2014-03-29 02:02:56 +01:00
s3c-dma-ops.c ASoC: Samsung: Do not queue cyclic buffers multiple times 2013-08-29 17:31:02 +01:00
s5p-dev-mfc.c ARM: SAMSUNG: Remove remaining legacy code 2014-07-19 04:32:18 +09:00
setup-camif.c ARM: S3C[24|64]xx: move includes back under <mach/> scope 2014-01-14 15:24:06 +01:00
wakeup-mask.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
watchdog-reset.c ARM: SAMSUNG: Add watchdog reset driver 2013-06-19 03:13:16 +09:00