Thread (3 messages) 3 messages, 2 authors, 2020-09-11

Re: [PATCH] omap3: enable off mode automatically

From: Andreas Kemnade <andreas@kemnade.info>
Date: 2020-09-11 16:37:39
Also in: linux-omap, lkml

On Fri, 11 Sep 2020 13:33:37 +0300
Tony Lindgren [off-list ref] wrote:
* Andreas Kemnade [off-list ref] [200911 09:50]:
quoted
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -49,11 +49,7 @@ static inline int omap4_opp_init(void)
 extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm);
 extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state);
 
-#ifdef CONFIG_PM_DEBUG
 extern u32 enable_off_mode;
-#else
-#define enable_off_mode 0
-#endif  
Hmm isn't the above still needed for the other SoCs? Or is omap3 the only
user?
well, the linker moans about undefined symbols if
CONFIG_ARCH_OMAP3 is not enabled.
I will send a v2.

Regards,
Andreas

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help