summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/leds-qpnp-flash-v2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/leds-qpnp-flash-v2.h b/include/linux/leds-qpnp-flash-v2.h
index c1e841689b55..38d3c9887354 100644
--- a/include/linux/leds-qpnp-flash-v2.h
+++ b/include/linux/leds-qpnp-flash-v2.h
@@ -16,6 +16,9 @@
#include <linux/leds.h>
#include "leds.h"
+#define ENABLE_REGULATOR BIT(0)
+#define QUERY_MAX_CURRENT BIT(1)
+
/*
* Configurations for each individual LED
*/
@@ -46,4 +49,6 @@ struct flash_switch_data {
struct led_classdev cdev;
};
+int qpnp_flash_led_prepare(struct led_classdev *led_cdev, int options);
+
#endif