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: Mohan Pallaka <mpallaka@codeaurora.org>
This commit is contained in:
parent
c1d445170d
commit
063ce9b169
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue