summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-07-13 15:45:07 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-13 15:45:07 -0700
commit348d50ac2118abcc364f7194914ac080bf81e15c (patch)
treef99a0438d3d3a8f1a428cc9e839d52b4a4a39743 /include/linux
parent11e4a7a8da6e2e30e60aff577546cbaf8f6fde38 (diff)
parent74ec31a097ae391e286a5c3989f8445eeb3e991d (diff)
Merge "leds: qpnp-flash-v2: Add support for multiple switch nodes"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/leds-qpnp-flash-v2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/leds-qpnp-flash-v2.h b/include/linux/leds-qpnp-flash-v2.h
index 1ff8781d3837..428c0671b716 100644
--- a/include/linux/leds-qpnp-flash-v2.h
+++ b/include/linux/leds-qpnp-flash-v2.h
@@ -54,7 +54,8 @@ struct flash_switch_data {
struct platform_device *pdev;
struct led_classdev cdev;
struct flash_regulator_data *reg_data;
- u8 num_regulators;
+ int led_mask;
+ int num_regulators;
bool regulator_on;
};