ARM: S3C24XX: fix building without PM_SLEEP
We get lots of link errors based on the assumption that any s3c24xx kernel would enable CONFIG_PM_SLEEP if it enables CONFIG_PM. This tries to clean that up. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kukjin Kim <kgene@kernel.org>
This commit is contained in:

committed by
Kukjin Kim

parent
ea8d33ad32
commit
4f506daf0e
@@ -98,7 +98,7 @@ int __init s3c2416_init(void)
|
||||
s3c_adc_setname("s3c2416-adc");
|
||||
s3c_rtc_setname("s3c2416-rtc");
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
register_syscore_ops(&s3c2416_pm_syscore_ops);
|
||||
register_syscore_ops(&s3c24xx_irq_syscore_ops);
|
||||
register_syscore_ops(&s3c2416_irq_syscore_ops);
|
||||
|
Reference in New Issue
Block a user