2 * Copyright (C) 2012 Renesas Solutions Corp.
4 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
13 #include <linux/pm_domain.h>
15 struct platform_device;
17 struct rmobile_pm_domain {
18 struct generic_pm_domain genpd;
19 struct dev_power_governor *gov;
22 unsigned int bit_shift;
27 struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d)
29 return container_of(d, struct rmobile_pm_domain, genpd);
33 extern void rmobile_init_pm_domain(struct rmobile_pm_domain *rmobile_pd);
34 extern void rmobile_add_device_to_domain(struct rmobile_pm_domain *rmobile_pd,
35 struct platform_device *pdev);
36 extern void rmobile_pm_add_subdomain(struct rmobile_pm_domain *rmobile_pd,
37 struct rmobile_pm_domain *rmobile_sd);
39 #define rmobile_init_pm_domain(pd) do { } while (0)
40 #define rmobile_add_device_to_domain(pd, pdev) do { } while (0)
41 #define rmobile_pm_add_subdomain(pd, sd) do { } while (0)
42 #endif /* CONFIG_PM */
44 #endif /* PM_RMOBILE_H */