summaryrefslogtreecommitdiffstats
path: root/drivers/base/power/Makefile
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-08-07 01:06:11 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-04 01:36:52 +0200
commitb5abb085f5540a612b0b7a6326ae2a07de2330dd (patch)
tree00098a48ea6b872e1d5f05939a30c0fbb9f5e779 /drivers/base/power/Makefile
parentfeb70af0e3ac6817327be70b47731039ea135dbc (diff)
downloadtalos-obmc-linux-b5abb085f5540a612b0b7a6326ae2a07de2330dd.tar.gz
talos-obmc-linux-b5abb085f5540a612b0b7a6326ae2a07de2330dd.zip
PM / Domains: Make it possible to use domain names when adding devices
Add a new helper function __pm_genpd_name_add_device() allowing a device to be added to a (registered) generic PM domain identified by name. Add a wrapper around it, pm_genpd_name_add_device(), passing NULL as the last argument and reorganize pm_domains.h for the new functions to be defined consistently with the existing ones. These functions are useful for adding devices to PM domains whose representations are stored in tables, when the caller doesn't know the index of the domain to add the device to, but it knows the domain's name. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/base/power/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud