[PATCH 1/2] mfd: Add r_select to lm3533 platform data

From: Johan Hovold
Date: Fri May 18 2012 - 14:22:55 EST


Add resistor-select parameter to the platform data.

Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx>
---

Hi Samuel,

I believe this one needs to go in through mfd as the iio driver
destined for staging-next depends on it.

Thanks,
Johan

include/linux/mfd/lm3533.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/mfd/lm3533.h b/include/linux/mfd/lm3533.h
index 9660feb..594bc59 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 {
--
1.7.8.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/