Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 063ce9b1 authored by Mohan Pallaka's avatar Mohan Pallaka Committed by Chandan Uddaraju
Browse files

include: leds-qpnp-wled: add dummy function for ibb enable



Add dummy implementation for ibb enable if the
WLED module is not used.

Change-Id: I5edd2ab0150ba28f5f6f2fe54d6a79f877ee2e5a
Signed-off-by: default avatarMohan Pallaka <mpallaka@codeaurora.org>
parent c1d44517
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -11,6 +11,12 @@
 */
#ifndef __LEDS_QPNP_WLED_H

#ifdef CONFIG_LEDS_QPNP_WLED
int qpnp_ibb_enable(bool state);

#else
int qpnp_ibb_enable(bool state)
{
	return 0;
}
#endif
#endif