diff options
author | Krystian Garbaciak <krystian.garbaciak@diasemi.com> | 2012-07-12 13:53:35 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-12 18:19:24 +0100 |
commit | 1beaf762b4ad5f53876f790bb6cfbd3bac072985 (patch) | |
tree | e8b47e3f8fde22e6558f570f3c1141b9d61074a1 /include/linux/regulator | |
parent | 03ffcf3d0838bd5e693cd4520becfb22577cf34d (diff) | |
download | linux-stable-1beaf762b4ad5f53876f790bb6cfbd3bac072985.tar.gz linux-stable-1beaf762b4ad5f53876f790bb6cfbd3bac072985.tar.bz2 linux-stable-1beaf762b4ad5f53876f790bb6cfbd3bac072985.zip |
regulator: Add REGULATOR_STATUS_UNDEFINED.
REGULATOR_STATUS_UNDEFINED is to be returned by regulator, if any other state
doesn't really apply.
Signed-off-by: Krystian Garbaciak <krystian.garbaciak@diasemi.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/driver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 80226383e561..2513a54ca2e8 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h @@ -32,6 +32,8 @@ enum regulator_status { REGULATOR_STATUS_NORMAL, REGULATOR_STATUS_IDLE, REGULATOR_STATUS_STANDBY, + /* in case that any other status doesn't apply */ + REGULATOR_STATUS_UNDEFINED, }; /** |