
27 Sep
2019
27 Sep
'19
3:49 a.m.
On Tue, 24 Sep 2019 at 00:58, Lokesh Vutla lokeshvutla@ti.com wrote:
On 17/09/19 2:59 PM, Peng Fan wrote:
Add this new API to power on multiple domains attached to a device.
Signed-off-by: Peng Fan peng.fan@nxp.com
[..snip..]
- */
+#if (CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)) && \
CONFIG_IS_ENABLED(POWER_DOMAIN)
+int dev_power_domain_on(struct udevice *dev); +#else +int dev_power_domain_on(struct udevice *dev)
static inline
Fixed this, added a condition to the .c file, and:
Reviewed-by: Simon Glass sjg@chromium.org
Thanks and regards, Lokesh
+{
return 0;
+} +#endif
#endif