OSDN Git Service

f2fs: Revert rapid GC
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / include / linux / leds-qpnp-wled.h
1 /* 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
15 int qpnp_ibb_enable(bool state);
16 #else
17 int qpnp_ibb_enable(bool state)
18 {
19         return 0;
20 }
21 #endif
22 #endif