msm: board-msm7x27a-regulator: Add voltage selector for a regulator
Each regulator in PMIC support a range of voltage over which
it can be operated. This voltage range is changed in certain
minimum voltage step and these steps provide the voltage selector
points for a particular regulator. This range is used by
regulator_count_voltages() function.
Change-Id: I958170f35779eb3d84faad6502c3e2f14b1cafb6
Signed-off-by: Pankaj Kumar <pakuma@codeaurora.org>
diff --git a/arch/arm/mach-msm/proccomm-regulator.h b/arch/arm/mach-msm/proccomm-regulator.h
index 2eb4f79..46d3b13 100644
--- a/arch/arm/mach-msm/proccomm-regulator.h
+++ b/arch/arm/mach-msm/proccomm-regulator.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -48,6 +48,7 @@
int rise_time;
int pulldown;
int negative;
+ int n_voltages;
};
/**