summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2012-05-18 20:22:45 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-22 23:47:42 +0200
commit730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6 (patch)
tree9fe29192fc33b3dc971a51daf875f396b14924c7
parentgpio: Add Intel Centerton support to gpio-sch (diff)
downloadlinux-730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6.tar.xz
linux-730a3d01b1e1e3ba102a5a4d3d5dcfecd55326b6.zip
mfd: Add r_select to lm3533 platform data
Add resistor-select parameter to the platform data. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--include/linux/mfd/lm3533.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h
index 9660febe93c2..594bc591f256 100644
--- a/include/linux/mfd/lm3533.h
+++ b/include/linux/mfd/lm3533.h
@@ -43,6 +43,7 @@ struct lm3533_ctrlbank {
struct lm3533_als_platform_data {
unsigned pwm_mode:1; /* PWM input mode (default analog) */
+ u8 r_select; /* 1 - 127 (ignored in PWM-mode) */
};
struct lm3533_bl_platform_data {