diff options
| author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-05-31 08:21:13 -0400 |
|---|---|---|
| committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-07-04 11:44:02 -0400 |
| commit | 4ae6df5e1018796ce260be59b2c603bd0f9faa94 (patch) | |
| tree | 0a673e318826a51ce2660ed7e978eaa6e64fc6d6 /include/linux/i2c | |
| parent | 57fe7251f5bfc4332f24479376de48a1e8ca6211 (diff) | |
MFD: twl4030-audio: Rename platform data
Allign the platform data names for twl4030 audio submodule:
twl4030_audio_data: for the core MFD driver
twl4030_codec_data: for ASoC codec driver
twl4030_vibra_data: for the input/ForceFeedback driver
To avoid breakage, change all depending drivers, files
to use the new types.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
| -rw-r--r-- | include/linux/i2c/twl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index ba4f88624fc..e0aba2b92fa 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
| @@ -657,7 +657,7 @@ struct twl4030_power_data { | |||
| 657 | extern void twl4030_power_init(struct twl4030_power_data *triton2_scripts); | 657 | extern void twl4030_power_init(struct twl4030_power_data *triton2_scripts); |
| 658 | extern int twl4030_remove_script(u8 flags); | 658 | extern int twl4030_remove_script(u8 flags); |
| 659 | 659 | ||
| 660 | struct twl4030_codec_audio_data { | 660 | struct twl4030_codec_data { |
| 661 | unsigned int digimic_delay; /* in ms */ | 661 | unsigned int digimic_delay; /* in ms */ |
| 662 | unsigned int ramp_delay_value; | 662 | unsigned int ramp_delay_value; |
| 663 | unsigned int offset_cncl_path; | 663 | unsigned int offset_cncl_path; |
| @@ -667,14 +667,14 @@ struct twl4030_codec_audio_data { | |||
| 667 | void (*set_hs_extmute)(int mute); | 667 | void (*set_hs_extmute)(int mute); |
| 668 | }; | 668 | }; |
| 669 | 669 | ||
| 670 | struct twl4030_codec_vibra_data { | 670 | struct twl4030_vibra_data { |
| 671 | unsigned int coexist; | 671 | unsigned int coexist; |
| 672 | }; | 672 | }; |
| 673 | 673 | ||
| 674 | struct twl4030_codec_data { | 674 | struct twl4030_audio_data { |
| 675 | unsigned int audio_mclk; | 675 | unsigned int audio_mclk; |
| 676 | struct twl4030_codec_audio_data *audio; | 676 | struct twl4030_codec_data *codec; |
| 677 | struct twl4030_codec_vibra_data *vibra; | 677 | struct twl4030_vibra_data *vibra; |
| 678 | 678 | ||
| 679 | /* twl6040 */ | 679 | /* twl6040 */ |
| 680 | int audpwron_gpio; /* audio power-on gpio */ | 680 | int audpwron_gpio; /* audio power-on gpio */ |
| @@ -690,7 +690,7 @@ struct twl4030_platform_data { | |||
| 690 | struct twl4030_keypad_data *keypad; | 690 | struct twl4030_keypad_data *keypad; |
| 691 | struct twl4030_usb_data *usb; | 691 | struct twl4030_usb_data *usb; |
| 692 | struct twl4030_power_data *power; | 692 | struct twl4030_power_data *power; |
| 693 | struct twl4030_codec_data *codec; | 693 | struct twl4030_audio_data *audio; |
| 694 | 694 | ||
| 695 | /* Common LDO regulators for TWL4030/TWL6030 */ | 695 | /* Common LDO regulators for TWL4030/TWL6030 */ |
| 696 | struct regulator_init_data *vdac; | 696 | struct regulator_init_data *vdac; |
