diff mbox

[v2,1/2] PM / Domains: Make pm_genpd_{add,remove}_subdomain() available to modules

Message ID 1443727374-1539-2-git-send-email-sboyd@codeaurora.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Stephen Boyd Oct. 1, 2015, 7:22 p.m. UTC
Export these symbols so they can be used in loadable kernel
modules.

Cc: Rob Clark <robdclark@gmail.com>
Cc: Rajendra Nayak <rnayak@codeaurora.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Kevin Hilman <khilman@kernel.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---

 drivers/base/power/domain.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Rafael J. Wysocki Oct. 5, 2015, 8:55 p.m. UTC | #1
On Thursday, October 01, 2015 12:22:53 PM Stephen Boyd wrote:
> Export these symbols so they can be used in loadable kernel
> modules.
> 
> Cc: Rob Clark <robdclark@gmail.com>
> Cc: Rajendra Nayak <rnayak@codeaurora.org>
> Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
> Cc: Kevin Hilman <khilman@kernel.org>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
> 
>  drivers/base/power/domain.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
> index cf4950d92937..9b0f5a06a82b 100644
> --- a/drivers/base/power/domain.c
> +++ b/drivers/base/power/domain.c
> @@ -1348,6 +1348,7 @@ int pm_genpd_add_subdomain(struct generic_pm_domain *genpd,
>  
>  	return ret;
>  }
> +EXPORT_SYMBOL_GPL(pm_genpd_add_subdomain);
>  
>  /**
>   * pm_genpd_remove_subdomain - Remove a subdomain from an I/O PM domain.
> @@ -1395,6 +1396,7 @@ out:
>  
>  	return ret;
>  }
> +EXPORT_SYMBOL_GPL(pm_genpd_remove_subdomain);
>  
>  /* Default device callbacks for generic PM domains. */

This is fine by me, please feel free to add my ACK to it.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Boyd Oct. 6, 2015, 7:32 p.m. UTC | #2
On 10/05, Rafael J. Wysocki wrote:
> On Thursday, October 01, 2015 12:22:53 PM Stephen Boyd wrote:
> >  
> >  /**
> >   * pm_genpd_remove_subdomain - Remove a subdomain from an I/O PM domain.
> > @@ -1395,6 +1396,7 @@ out:
> >  
> >  	return ret;
> >  }
> > +EXPORT_SYMBOL_GPL(pm_genpd_remove_subdomain);
> >  
> >  /* Default device callbacks for generic PM domains. */
> 
> This is fine by me, please feel free to add my ACK to it.
> 

Thanks. Applied to clk-next.
diff mbox

Patch

diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index cf4950d92937..9b0f5a06a82b 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1348,6 +1348,7 @@  int pm_genpd_add_subdomain(struct generic_pm_domain *genpd,
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(pm_genpd_add_subdomain);
 
 /**
  * pm_genpd_remove_subdomain - Remove a subdomain from an I/O PM domain.
@@ -1395,6 +1396,7 @@  out:
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(pm_genpd_remove_subdomain);
 
 /* Default device callbacks for generic PM domains. */