summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2011-06-02 18:30:52 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-06-03 16:22:01 -0700
commit80839a19804702df2f24ebf24899579fd2ab6d9d (patch)
treef354845ce0449e787e08312185bf25fc4da0b37c /arch
parentf8d8e12dd1e0e2559e2419b7acdaf9eee9865736 (diff)
downloadop-kernel-dev-80839a19804702df2f24ebf24899579fd2ab6d9d.zip
op-kernel-dev-80839a19804702df2f24ebf24899579fd2ab6d9d.tar.gz
ARM: EXYNOS4: Remove compiler warning on exynos4_pwm4_resume
Remove compiler warning when no CONFIG_PM arch/arm/mach-exynos4/time.c:209: warning: 'exynos4_pwm4_resume' defined but not used Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos4/time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/time.c b/arch/arm/mach-exynos4/time.c
index 86b9fa0..ebb8f38 100644
--- a/arch/arm/mach-exynos4/time.c
+++ b/arch/arm/mach-exynos4/time.c
@@ -206,6 +206,7 @@ static cycle_t exynos4_pwm4_read(struct clocksource *cs)
return (cycle_t) ~__raw_readl(S3C_TIMERREG(0x40));
}
+#ifdef CONFIG_PM
static void exynos4_pwm4_resume(struct clocksource *cs)
{
unsigned long pclk;
@@ -218,6 +219,7 @@ static void exynos4_pwm4_resume(struct clocksource *cs)
exynos4_pwm_init(4, ~0);
exynos4_pwm_start(4, 1);
}
+#endif
struct clocksource pwm_clocksource = {
.name = "pwm_timer4",
OpenPOWER on IntegriCloud