blob: 6880bc41394c55d9ca07a4f7dff1a97a12497ecb [file] [log] [blame]
David Collins8885f792017-01-26 14:36:34 -08001/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12#ifndef __LEDS_QPNP_WLED_H
13
14#ifdef CONFIG_LEDS_QPNP_WLED
15int qpnp_ibb_enable(bool state);
16#else
17int qpnp_ibb_enable(bool state)
18{
19 return 0;
20}
21#endif
22#endif