diff --git a/drivers/mfd/lm3632.c b/drivers/mfd/lm3632.c
index 4e0e98cf6c6b58222fcb8811f4c0436ccbdd8e7c..047c098d3cffb0055fc5343e9f79e64b6ab748d1 100644 (file)
--- a/drivers/mfd/lm3632.c
+++ b/drivers/mfd/lm3632.c
.of_compatible = "ti,lm3632-backlight", \
}
+#define LM3632_DEV_FLASH \
+{ \
+ .name = "lm3632-flash", \
+ .of_compatible = "ti,lm3632-flash", \
+}
+
static struct mfd_cell lm3632_devs[] = {
/* 3 Regulators */
LM3632_DEV_LCD_BIAS(1),
/* Backlight */
LM3632_DEV_BL,
+ /* Torch Flash */
+ LM3632_DEV_FLASH,
};
int lm3632_read_byte(struct lm3632 *lm3632, u8 reg, u8 *read)