diff options
Diffstat (limited to 'arch/arm/mach-shmobile/pm-rmobile.c')
-rw-r--r-- | arch/arm/mach-shmobile/pm-rmobile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/pm-rmobile.c b/arch/arm/mach-shmobile/pm-rmobile.c index a8562540f1d6..c94056d6a029 100644 --- a/arch/arm/mach-shmobile/pm-rmobile.c +++ b/arch/arm/mach-shmobile/pm-rmobile.c | |||
@@ -149,12 +149,12 @@ void rmobile_init_pm_domain(struct rmobile_pm_domain *rmobile_pd) | |||
149 | __rmobile_pd_power_up(rmobile_pd, false); | 149 | __rmobile_pd_power_up(rmobile_pd, false); |
150 | } | 150 | } |
151 | 151 | ||
152 | void rmobile_add_device_to_domain(struct rmobile_pm_domain *rmobile_pd, | 152 | void rmobile_add_device_to_domain(const char *domain_name, |
153 | struct platform_device *pdev) | 153 | struct platform_device *pdev) |
154 | { | 154 | { |
155 | struct device *dev = &pdev->dev; | 155 | struct device *dev = &pdev->dev; |
156 | 156 | ||
157 | pm_genpd_add_device(&rmobile_pd->genpd, dev); | 157 | pm_genpd_name_add_device(domain_name, dev); |
158 | if (pm_clk_no_clocks(dev)) | 158 | if (pm_clk_no_clocks(dev)) |
159 | pm_clk_add(dev, NULL); | 159 | pm_clk_add(dev, NULL); |
160 | } | 160 | } |