ARM: shmobile: R-Mobile: Add DT support for PM domains
[deliverable/linux.git] / arch / arm / mach-shmobile / pm-rmobile.h
index 0602130bb260c31de47f494ac2d240a6ac273080..53219786f539fa2428f16c522faee499cad0095b 100644 (file)
@@ -37,7 +37,7 @@ struct pm_domain_device {
        struct platform_device *pdev;
 };
 
-#ifdef CONFIG_PM_RMOBILE
+#if defined(CONFIG_PM_RMOBILE) && defined(CONFIG_ARCH_SHMOBILE_LEGACY)
 extern void rmobile_init_domains(struct rmobile_pm_domain domains[], int num);
 extern void rmobile_add_device_to_domain_td(const char *domain_name,
                                            struct platform_device *pdev,
This page took 0.024844 seconds and 5 git commands to generate.