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:
Mohan Pallaka 2014-06-17 10:17:11 -07:00 committed by Chandan Uddaraju
parent c1d445170d
commit 063ce9b169
1 changed files with 7 additions and 1 deletions

View File

@ -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