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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Kukjin Kim

vecāks
ea8d33ad32
revīzija
4f506daf0e
@@ -57,11 +57,11 @@ int __init s3c2440_init(void)
|
||||
|
||||
/* register suspend/resume handlers */
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
register_syscore_ops(&s3c2410_pm_syscore_ops);
|
||||
register_syscore_ops(&s3c24xx_irq_syscore_ops);
|
||||
#endif
|
||||
register_syscore_ops(&s3c244x_pm_syscore_ops);
|
||||
#endif
|
||||
|
||||
/* register our system device for everything else */
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user