summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/s5p-irq-pm.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2014-02-14 10:39:45 +0900
committerKukjin Kim <kgene.kim@samsung.com>2014-02-14 10:40:15 +0900
commite9d428ee80150d9320823f6fb826dfacf54a6ead (patch)
tree48ca1fbde17368703168698758302805f1e3a0ef /arch/arm/plat-samsung/s5p-irq-pm.c
parent974b4334caebcfac81c96df40511143bb18e23dc (diff)
downloadblackbird-op-linux-e9d428ee80150d9320823f6fb826dfacf54a6ead.tar.gz
blackbird-op-linux-e9d428ee80150d9320823f6fb826dfacf54a6ead.zip
ARM: SAMSUNG: Remove Exynos specific code from devs, s5p-pm-irq and pm-gpio.c
This file is only compiled when SAMSUNG_ATAGS is enabled, hence not for Exynos platform. Signed-off-by: Tushar Behera <tushar.behera@linaro.org> [kgene.kim@samsung.com: squashed into one] Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/s5p-irq-pm.c')
-rw-r--r--arch/arm/plat-samsung/s5p-irq-pm.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/plat-samsung/s5p-irq-pm.c b/arch/arm/plat-samsung/s5p-irq-pm.c
index 591498035916..52b16943617e 100644
--- a/arch/arm/plat-samsung/s5p-irq-pm.c
+++ b/arch/arm/plat-samsung/s5p-irq-pm.c
@@ -22,10 +22,7 @@
#include <mach/map.h>
#include <mach/regs-gpio.h>
-
-#ifndef CONFIG_ARCH_EXYNOS
#include <mach/regs-irq.h>
-#endif
/* state for IRQs over sleep */
@@ -43,18 +40,8 @@ int s3c_irq_wake(struct irq_data *data, unsigned int state)
unsigned long irqbit;
unsigned int irq_rtc_tic, irq_rtc_alarm;
-#ifdef CONFIG_ARCH_EXYNOS
- if (soc_is_exynos5250()) {
- irq_rtc_tic = EXYNOS5_IRQ_RTC_TIC;
- irq_rtc_alarm = EXYNOS5_IRQ_RTC_ALARM;
- } else {
- irq_rtc_tic = EXYNOS4_IRQ_RTC_TIC;
- irq_rtc_alarm = EXYNOS4_IRQ_RTC_ALARM;
- }
-#else
irq_rtc_tic = IRQ_RTC_TIC;
irq_rtc_alarm = IRQ_RTC_ALARM;
-#endif
if (data->irq == irq_rtc_tic || data->irq == irq_rtc_alarm) {
irqbit = 1 << (data->irq + 1 - irq_rtc_alarm);
OpenPOWER on IntegriCloud