ARM: EXYNOS: Select SPARSE_IRQ for Exynos
authorTomasz Figa <t.figa@samsung.com>
Sat, 15 Jun 2013 00:28:55 +0000 (09:28 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 18 Jun 2013 16:30:30 +0000 (01:30 +0900)
This patch adds selection of CONFIG_SPARSE_IRQ for ARCH_EXYNOS, since it
is required by multiplatform and allows to remove the legacy mach/irqs.h
header.

To make this possible, a dummy IRQ_EINT_BIT macro is added to pm-core.h
header to allow plat-samsung/pm.c compile. This macro is irrelevant for
Exynos and will be removed after reworking Samsung pm code for
multiplatform compatibility.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/Kconfig
arch/arm/mach-exynos/include/mach/pm-core.h

index 17a2d6a65728aaa931a9365e35a24151f2fd06ed..14f6e1138e889b56872d8f3902a4e9288e5388a8 100644 (file)
@@ -807,6 +807,7 @@ config ARCH_EXYNOS
        select HAVE_S3C2410_WATCHDOG if WATCHDOG
        select HAVE_S3C_RTC if RTC_CLASS
        select NEED_MACH_MEMORY_H
+       select SPARSE_IRQ
        select USE_OF
        help
          Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
index dd62559a2ed441b65aaab4d491440b428086ae9c..71e6b89719abc08691050cf712d8928bb42d686b 100644 (file)
@@ -70,6 +70,7 @@ static inline void samsung_pm_saved_gpios(void)
 }
 
 /* Compatibility definitions to make plat-samsung/pm.c compile */
+#define IRQ_EINT_BIT(x)                1
 #define s3c_irqwake_intallow   0
 #define s3c_irqwake_eintallow  0