diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c/twl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 78d3465251d6..08a82d314f24 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -749,6 +749,13 @@ struct twl4030_platform_data { | |||
749 | struct regulator_init_data *vio6025; | 749 | struct regulator_init_data *vio6025; |
750 | }; | 750 | }; |
751 | 751 | ||
752 | struct twl_regulator_driver_data { | ||
753 | int (*set_voltage)(void *data, int target_uV); | ||
754 | int (*get_voltage)(void *data); | ||
755 | void *data; | ||
756 | unsigned long features; | ||
757 | }; | ||
758 | |||
752 | /*----------------------------------------------------------------------*/ | 759 | /*----------------------------------------------------------------------*/ |
753 | 760 | ||
754 | int twl4030_sih_setup(int module); | 761 | int twl4030_sih_setup(int module); |