summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-18 12:04:03 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-18 12:04:03 -0700
commit4aed4b66627e4aba011dc40de0db569520d3713e (patch)
tree7bc68f318a2344a987a9e47e6d8cffedab69e0cc /include/linux
parentb1f1685bb7b4de41c7e1ba80a3a643f25cc29626 (diff)
parent2ad57cd5761c2d684ecfda70bab349130cb66438 (diff)
Merge "ARM: dts: msm: Fix regulator name for pmicobalt flash"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/leds-qpnp-flash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/leds-qpnp-flash.h b/include/linux/leds-qpnp-flash.h
index 55867e78bba6..3df370a9e6d3 100644
--- a/include/linux/leds-qpnp-flash.h
+++ b/include/linux/leds-qpnp-flash.h
@@ -16,8 +16,10 @@
#include <linux/leds.h>
#define ENABLE_REGULATOR BIT(0)
-#define QUERY_MAX_CURRENT BIT(1)
+#define DISABLE_REGULATOR BIT(1)
+#define QUERY_MAX_CURRENT BIT(2)
-int qpnp_flash_led_prepare(struct led_trigger *trig, int options);
+int qpnp_flash_led_prepare(struct led_trigger *trig, int options,
+ int *max_current);
#endif