PM / Domains: Add missing header file

Message ID 1411725443-17328-1-git-send-email-ulf.hansson@linaro.org
State New
Headers show

Commit Message

Ulf Hansson Sept. 26, 2014, 9:57 a.m.
The commit below, starts using errno values in pm.h header file. But it
didn't include the header for these, let's add it.

46420dd73b800f87a19af13af5883855cf38cb08
(PM / Domains: Add APIs to attach/detach a PM domain for a device)

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---

Rafael, feel free to squash this change into the commit that was causing the
issue.

---
 include/linux/pm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafael J. Wysocki Sept. 26, 2014, 10:07 p.m. | #1
On Friday, September 26, 2014 11:57:23 AM Ulf Hansson wrote:
> The commit below, starts using errno values in pm.h header file. But it
> didn't include the header for these, let's add it.
> 
> 46420dd73b800f87a19af13af5883855cf38cb08
> (PM / Domains: Add APIs to attach/detach a PM domain for a device)
> 
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
> ---
> 
> Rafael, feel free to squash this change into the commit that was causing the
> issue.

First, it's more convenient for me to apply a fix at this point.

Second ->

> ---
>  include/linux/pm.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/pm.h b/include/linux/pm.h
> index c4cbf48..69df420 100644
> --- a/include/linux/pm.h
> +++ b/include/linux/pm.h
> @@ -27,6 +27,7 @@
>  #include <linux/wait.h>
>  #include <linux/timer.h>
>  #include <linux/completion.h>
> +#include <linux/errno.h>

-> Can you please move the dev_pm_domain_attach/detach() headers to
include/linux/pm_domain.h instead?

>  /*
>   * Callbacks for platform drivers to implement.
>

Patch

diff --git a/include/linux/pm.h b/include/linux/pm.h
index c4cbf48..69df420 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -27,6 +27,7 @@ 
 #include <linux/wait.h>
 #include <linux/timer.h>
 #include <linux/completion.h>
+#include <linux/errno.h>
 
 /*
  * Callbacks for platform drivers to implement.