提交 6e726ea4 编写于 作者: T Tomasz Figa 提交者: Kukjin Kim

ARM: EXYNOS: Select SPARSE_IRQ for Exynos

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: NTomasz Figa <t.figa@samsung.com>
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 07fbe13d
...@@ -807,6 +807,7 @@ config ARCH_EXYNOS ...@@ -807,6 +807,7 @@ config ARCH_EXYNOS
select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C2410_WATCHDOG if WATCHDOG
select HAVE_S3C_RTC if RTC_CLASS select HAVE_S3C_RTC if RTC_CLASS
select NEED_MACH_MEMORY_H select NEED_MACH_MEMORY_H
select SPARSE_IRQ
select USE_OF select USE_OF
help help
Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5) Support for SAMSUNG's EXYNOS SoCs (EXYNOS4/5)
......
...@@ -70,6 +70,7 @@ static inline void samsung_pm_saved_gpios(void) ...@@ -70,6 +70,7 @@ static inline void samsung_pm_saved_gpios(void)
} }
/* Compatibility definitions to make plat-samsung/pm.c compile */ /* Compatibility definitions to make plat-samsung/pm.c compile */
#define IRQ_EINT_BIT(x) 1
#define s3c_irqwake_intallow 0 #define s3c_irqwake_intallow 0
#define s3c_irqwake_eintallow 0 #define s3c_irqwake_eintallow 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册