diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-29 13:58:47 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-30 01:16:44 +0200 |
commit | f48c767ce8951e30eb716b8ef69142d21aacbd1d (patch) | |
tree | 9c6fdc45eb5a6566abb205e20248bbb1ff936a7d /drivers/amba | |
parent | 263c589bae9eb404df2c1e8d49ec775bb7b288d4 (diff) | |
download | op-kernel-dev-f48c767ce8951e30eb716b8ef69142d21aacbd1d.zip op-kernel-dev-f48c767ce8951e30eb716b8ef69142d21aacbd1d.tar.gz |
PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.h
The commit 46420dd73b80 (PM / Domains: Add APIs to attach/detach a PM
domain for a device) started using errno values in pm.h header file.
It also failed to include the header for these, thus it caused
compiler errors.
Instead of including the errno header to pm.h, let's move the functions
to pm_domain.h, since it's a better match.
Fixes: 46420dd73b80 (PM / Domains: Add APIs to attach/detach a PM domain for a device)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/amba')
-rw-r--r-- | drivers/amba/bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index 8f52393..47bbdc1 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@ -15,6 +15,7 @@ #include <linux/io.h> #include <linux/pm.h> #include <linux/pm_runtime.h> +#include <linux/pm_domain.h> #include <linux/amba/bus.h> #include <linux/sizes.h> |