]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - mlp-open-source/kernel.git/blobdiff - drivers/mfd/lm3632.c
LP8758 - consolidated version
[mlp-open-source/kernel.git] / drivers / mfd / lm3632.c
index 4e0e98cf6c6b58222fcb8811f4c0436ccbdd8e7c..047c098d3cffb0055fc5343e9f79e64b6ab748d1 100644 (file)
        .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),
@@ -43,6 +49,8 @@ static struct mfd_cell lm3632_devs[] = {
 
        /* Backlight */
        LM3632_DEV_BL,
+       /* Torch Flash */
+       LM3632_DEV_FLASH,
 };
 
 int lm3632_read_byte(struct lm3632 *lm3632, u8 reg, u8 *read)