diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-03-04 09:32:40 -0500 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-04-07 11:27:05 -0400 |
| commit | 848fc67da5fb43ef7d92d20891eef79f5de45816 (patch) | |
| tree | 89bbce02cd91c307a10354a0a1b199a97069c057 /include/linux/clk | |
| parent | 6248620b30403bcbe3ef308499026226e999597c (diff) | |
clk: renesas: mstp: Drop check for CONFIG_PM_GENERIC_DOMAINS_OF
As of commit 71d076ceb245f0d9 ("ARM: shmobile: Enable PM and
PM_GENERIC_DOMAINS for SoCs with PM Domains"),
CONFIG_PM_GENERIC_DOMAINS_OF is always enabled for SoCs with MSTP
clocks.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/clk')
| -rw-r--r-- | include/linux/clk/renesas.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/clk/renesas.h b/include/linux/clk/renesas.h index 7adfd80fbf55..2a3379cf1330 100644 --- a/include/linux/clk/renesas.h +++ b/include/linux/clk/renesas.h | |||
| @@ -24,12 +24,8 @@ void r8a7778_clocks_init(u32 mode); | |||
| 24 | void r8a7779_clocks_init(u32 mode); | 24 | void r8a7779_clocks_init(u32 mode); |
| 25 | void rcar_gen2_clocks_init(u32 mode); | 25 | void rcar_gen2_clocks_init(u32 mode); |
| 26 | 26 | ||
| 27 | #ifdef CONFIG_PM_GENERIC_DOMAINS_OF | ||
| 28 | void cpg_mstp_add_clk_domain(struct device_node *np); | 27 | void cpg_mstp_add_clk_domain(struct device_node *np); |
| 29 | int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev); | 28 | int cpg_mstp_attach_dev(struct generic_pm_domain *domain, struct device *dev); |
| 30 | void cpg_mstp_detach_dev(struct generic_pm_domain *domain, struct device *dev); | 29 | void cpg_mstp_detach_dev(struct generic_pm_domain *domain, struct device *dev); |
| 31 | #else | ||
| 32 | static inline void cpg_mstp_add_clk_domain(struct device_node *np) {} | ||
| 33 | #endif | ||
| 34 | 30 | ||
| 35 | #endif | 31 | #endif |
