diff options
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/tc3589x.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/mfd/tc3589x.h b/include/linux/mfd/tc3589x.h index e1c12d84c26a..c203c9c56776 100644 --- a/include/linux/mfd/tc3589x.h +++ b/include/linux/mfd/tc3589x.h | |||
| @@ -163,24 +163,12 @@ struct tc3589x_keypad_platform_data { | |||
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | /** | 165 | /** |
| 166 | * struct tc3589x_gpio_platform_data - TC3589x GPIO platform data | ||
| 167 | * @setup: callback for board-specific initialization | ||
| 168 | * @remove: callback for board-specific teardown | ||
| 169 | */ | ||
| 170 | struct tc3589x_gpio_platform_data { | ||
| 171 | void (*setup)(struct tc3589x *tc3589x, unsigned gpio_base); | ||
| 172 | void (*remove)(struct tc3589x *tc3589x, unsigned gpio_base); | ||
| 173 | }; | ||
| 174 | |||
| 175 | /** | ||
| 176 | * struct tc3589x_platform_data - TC3589x platform data | 166 | * struct tc3589x_platform_data - TC3589x platform data |
| 177 | * @block: bitmask of blocks to enable (use TC3589x_BLOCK_*) | 167 | * @block: bitmask of blocks to enable (use TC3589x_BLOCK_*) |
| 178 | * @gpio: GPIO-specific platform data | ||
| 179 | * @keypad: keypad-specific platform data | 168 | * @keypad: keypad-specific platform data |
| 180 | */ | 169 | */ |
| 181 | struct tc3589x_platform_data { | 170 | struct tc3589x_platform_data { |
| 182 | unsigned int block; | 171 | unsigned int block; |
| 183 | struct tc3589x_gpio_platform_data *gpio; | ||
| 184 | const struct tc3589x_keypad_platform_data *keypad; | 172 | const struct tc3589x_keypad_platform_data *keypad; |
| 185 | }; | 173 | }; |
| 186 | 174 | ||
