aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/r8a7779.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-08-06 19:07:46 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-03 19:44:56 -0400
commit8e0e7aaef3c98c52e85f5640b73ffa82058abcfd (patch)
tree467ab5ddceb1323ef01f54a411861ad979a0fde1 /arch/arm/mach-shmobile/include/mach/r8a7779.h
parent8bdd94689ef528738a0f14c44e069596a465d622 (diff)
ARM: shmobile: Drop r8a7779_add_device_to_domain()
If the r8a7779's PM domains are given names, this SoC and its boards will be able to use rmobile_add_device_to_domain() for adding devices to those domains and r8a7779_add_device_to_domain(), which is not used anywhere at the moment anyway, may be dopped. Accordingly, give names to the r8a7779's PM domains and drop r8a7779_add_device_to_domain(). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/r8a7779.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/r8a7779.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/r8a7779.h b/arch/arm/mach-shmobile/include/mach/r8a7779.h
index b07ad318eb2e..e0dcef0aa4c4 100644
--- a/arch/arm/mach-shmobile/include/mach/r8a7779.h
+++ b/arch/arm/mach-shmobile/include/mach/r8a7779.h
@@ -353,11 +353,8 @@ extern struct r8a7779_pm_domain r8a7779_vdp1;
353extern struct r8a7779_pm_domain r8a7779_impx3; 353extern struct r8a7779_pm_domain r8a7779_impx3;
354 354
355extern void r8a7779_init_pm_domain(struct r8a7779_pm_domain *r8a7779_pd); 355extern void r8a7779_init_pm_domain(struct r8a7779_pm_domain *r8a7779_pd);
356extern void r8a7779_add_device_to_domain(struct r8a7779_pm_domain *r8a7779_pd,
357 struct platform_device *pdev);
358#else 356#else
359#define r8a7779_init_pm_domain(pd) do { } while (0) 357#define r8a7779_init_pm_domain(pd) do { } while (0)
360#define r8a7779_add_device_to_domain(pd, pdev) do { } while (0)
361#endif /* CONFIG_PM */ 358#endif /* CONFIG_PM */
362 359
363#endif /* __ASM_R8A7779_H__ */ 360#endif /* __ASM_R8A7779_H__ */