Skip to content

Commit 24c96dc

Browse files
Maruthi Bayyavarapurafaeljw
Maruthi Bayyavarapu
authored andcommitted
PM / Domains: export symbols to add/remove devices from genpd
Drivers which can be built as loadable module needs symbols - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices to/from genpd. Those drivers create platform devices, which comes under a powerdomain. Signed-off-by: Maruthi Bayyavarapu <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 527e931 commit 24c96dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/base/power/domain.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,7 @@ int __pm_genpd_add_device(struct generic_pm_domain *genpd, struct device *dev,
12521252

12531253
return ret;
12541254
}
1255+
EXPORT_SYMBOL_GPL(__pm_genpd_add_device);
12551256

12561257
/**
12571258
* pm_genpd_remove_device - Remove a device from an I/O PM domain.
@@ -1302,6 +1303,7 @@ int pm_genpd_remove_device(struct generic_pm_domain *genpd,
13021303

13031304
return ret;
13041305
}
1306+
EXPORT_SYMBOL_GPL(pm_genpd_remove_device);
13051307

13061308
/**
13071309
* pm_genpd_add_subdomain - Add a subdomain to an I/O PM domain.

0 commit comments

Comments
 (0)