]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: S3C24XX: Fix s3c24xx build errors if !CONFIG_PM
authorDomenico Andreoli <cavokz@gmail.com>
Fri, 21 Oct 2011 19:00:53 +0000 (04:00 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 21 Oct 2011 19:00:53 +0000 (04:00 +0900)
commitfb630b9fc902e24209166b1659a8b375bf38099c
tree6212a56b9fd29ab09a9c943b5e0d9ae75b3d3ea0
parent1052cff317e7636456595f2246b9f644c53eccbd
ARM: S3C24XX: Fix s3c24xx build errors if !CONFIG_PM

v2:
- register_syscore_ops(&s3c24xx_irq_syscore_ops) does not need to be
  conditionally compiled out, it is already optimized out on !CONFIG_PM
- fix also s3c2412 and s3c2416 affected by the same build issue

v1:
s3c2440.c fails to build if !CONFIG_PM because in such case
s3c2410_pm_syscore_ops is not defined. Same error should happen also
in s3c2410.c and s3c2442.c

Signed-off-by: Domenico Andreoli <cavokz@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2410/s3c2410.c
arch/arm/mach-s3c2412/s3c2412.c
arch/arm/mach-s3c2416/s3c2416.c
arch/arm/mach-s3c2440/s3c2440.c
arch/arm/mach-s3c2440/s3c2442.c