ARM: S3C24XX: Move irq syscore-ops to irq-pm
With this the definition of s3c24xx_irq_syscore_ops can also move to common.h from plat/pm.h and the definitions of s3c24xx_irq_suspend and s3c24xx_irq_resume are also not necessary anymore in plat/pm.h Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:

committed by
Kukjin Kim

parent
1f629b7a3c
commit
d8fdec1685
@@ -49,6 +49,8 @@
|
||||
#include <plat/gpio-cfg.h>
|
||||
#include <plat/gpio-cfg-helpers.h>
|
||||
|
||||
#include "common.h"
|
||||
|
||||
/* Initial IO mappings */
|
||||
|
||||
static struct map_desc s3c2410_iodesc[] __initdata = {
|
||||
@@ -182,8 +184,8 @@ int __init s3c2410_init(void)
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
register_syscore_ops(&s3c2410_pm_syscore_ops);
|
||||
#endif
|
||||
register_syscore_ops(&s3c24xx_irq_syscore_ops);
|
||||
#endif
|
||||
|
||||
return device_register(&s3c2410_dev);
|
||||
}
|
||||
|
Reference in New Issue
Block a user