summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2017-04-30 16:17:23 +0300
committerMark Brown <broonie@kernel.org>2017-04-30 16:17:23 +0300
commitbde1e61b8e18a0654be78576ab2b0bdfeb5ca05d (patch)
treea69c813942b330baee582c3cf865748ea9bdbb03 /include/linux/regulator
parent6a8007c83a7bc5ccfa02b425f7463dab3dce686a (diff)
parentc93609ab3924cc974fc90001fb6aa250a8900a3c (diff)
downloadlinux-bde1e61b8e18a0654be78576ab2b0bdfeb5ca05d.tar.xz
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index dac8e7b16bc6..4cb1c9be6073 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -429,6 +429,8 @@ struct regulator_dev {
struct regulator_enable_gpio *ena_pin;
unsigned int ena_gpio_state:1;
+ unsigned int is_switch:1;
+
/* time when this regulator was disabled last time */
unsigned long last_off_jiffy;
};