All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP
@ 2017-07-10 21:14 ` Franklin S Cooper Jr
  0 siblings, 0 replies; 5+ messages in thread
From: Franklin S Cooper Jr @ 2017-07-10 21:14 UTC (permalink / raw)
  To: mperttunen, ulf.hansson, rafael.j.wysocki, linux-pm,
	linux-kernel, ssantosh, linux-arm-kernel
  Cc: Franklin S Cooper Jr

Set pm_genpd_poweroff_noirq to NULL if CONFIG_PM_SLEEP isn't enabled.
This is the same approach done for other PM_SLEEP related functions.

Without this patch building the kernel with the keystone_defconfig
results in a compilation error.

Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks")

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 drivers/base/power/domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 9649dce..c140a9d5 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1182,6 +1182,7 @@ EXPORT_SYMBOL_GPL(pm_genpd_syscore_poweron);
 #define pm_genpd_thaw_noirq		NULL
 #define pm_genpd_restore_noirq		NULL
 #define pm_genpd_complete		NULL
+#define pm_genpd_poweroff_noirq		NULL
 
 #endif /* CONFIG_PM_SLEEP */
 
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP
@ 2017-07-10 21:14 ` Franklin S Cooper Jr
  0 siblings, 0 replies; 5+ messages in thread
From: Franklin S Cooper Jr @ 2017-07-10 21:14 UTC (permalink / raw)
  To: mperttunen, ulf.hansson, rafael.j.wysocki, linux-pm,
	linux-kernel, ssantosh, linux-arm-kernel
  Cc: Franklin S Cooper Jr

Set pm_genpd_poweroff_noirq to NULL if CONFIG_PM_SLEEP isn't enabled.
This is the same approach done for other PM_SLEEP related functions.

Without this patch building the kernel with the keystone_defconfig
results in a compilation error.

Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks")

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 drivers/base/power/domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 9649dce..c140a9d5 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1182,6 +1182,7 @@ EXPORT_SYMBOL_GPL(pm_genpd_syscore_poweron);
 #define pm_genpd_thaw_noirq		NULL
 #define pm_genpd_restore_noirq		NULL
 #define pm_genpd_complete		NULL
+#define pm_genpd_poweroff_noirq		NULL
 
 #endif /* CONFIG_PM_SLEEP */
 
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP
@ 2017-07-10 21:14 ` Franklin S Cooper Jr
  0 siblings, 0 replies; 5+ messages in thread
From: Franklin S Cooper Jr @ 2017-07-10 21:14 UTC (permalink / raw)
  To: linux-arm-kernel

Set pm_genpd_poweroff_noirq to NULL if CONFIG_PM_SLEEP isn't enabled.
This is the same approach done for other PM_SLEEP related functions.

Without this patch building the kernel with the keystone_defconfig
results in a compilation error.

Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks")

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 drivers/base/power/domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c
index 9649dce..c140a9d5 100644
--- a/drivers/base/power/domain.c
+++ b/drivers/base/power/domain.c
@@ -1182,6 +1182,7 @@ EXPORT_SYMBOL_GPL(pm_genpd_syscore_poweron);
 #define pm_genpd_thaw_noirq		NULL
 #define pm_genpd_restore_noirq		NULL
 #define pm_genpd_complete		NULL
+#define pm_genpd_poweroff_noirq		NULL
 
 #endif /* CONFIG_PM_SLEEP */
 
-- 
2.10.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP
  2017-07-10 21:14 ` Franklin S Cooper Jr
@ 2017-07-12 21:36   ` Rafael J. Wysocki
  -1 siblings, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2017-07-12 21:36 UTC (permalink / raw)
  To: Franklin S Cooper Jr
  Cc: mperttunen, ulf.hansson, rafael.j.wysocki, linux-pm,
	linux-kernel, ssantosh, linux-arm-kernel

On Monday, July 10, 2017 04:14:48 PM Franklin S Cooper Jr wrote:
> Set pm_genpd_poweroff_noirq to NULL if CONFIG_PM_SLEEP isn't enabled.
> This is the same approach done for other PM_SLEEP related functions.
> 
> Without this patch building the kernel with the keystone_defconfig
> results in a compilation error.
> 
> Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks")
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>

That should be fixed already in the Linus' tree.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP
@ 2017-07-12 21:36   ` Rafael J. Wysocki
  0 siblings, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2017-07-12 21:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Monday, July 10, 2017 04:14:48 PM Franklin S Cooper Jr wrote:
> Set pm_genpd_poweroff_noirq to NULL if CONFIG_PM_SLEEP isn't enabled.
> This is the same approach done for other PM_SLEEP related functions.
> 
> Without this patch building the kernel with the keystone_defconfig
> results in a compilation error.
> 
> Fixes: 10da65423fdb ("PM / Domains: Call driver's noirq callbacks")
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>

That should be fixed already in the Linus' tree.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-12 21:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10 21:14 [PATCH] PM / Domains: Fix compilation error for devices that don't enable PM_SLEEP Franklin S Cooper Jr
2017-07-10 21:14 ` Franklin S Cooper Jr
2017-07-10 21:14 ` Franklin S Cooper Jr
2017-07-12 21:36 ` Rafael J. Wysocki
2017-07-12 21:36   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.