diff options
| author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-07-24 15:59:34 -0400 |
|---|---|---|
| committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:18:20 -0400 |
| commit | 596cf1c8d3720d6f08240e245a0558fa463430bb (patch) | |
| tree | 34e30ed2fb3ae0c5746c6f7fe8387e609a83ed77 /include | |
| parent | c9bd3db79c1804865bde5e0729a24e650a9c8608 (diff) | |
Subject: [PATCH 041/104] MFD: twl4030-codec -> twl4030-audio: Rename the driver
Rename the driver, and header file from twl4030-codec to
twl4030-audio.
To avoid breakage change depending drivers at the same time.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mfd/twl4030-audio.h (renamed from include/linux/mfd/twl4030-codec.h) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/mfd/twl4030-codec.h b/include/linux/mfd/twl4030-audio.h index 5cc16bbd1da..3d22b72df07 100644 --- a/include/linux/mfd/twl4030-codec.h +++ b/include/linux/mfd/twl4030-audio.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * MFD driver for twl4030 codec submodule | 2 | * MFD driver for twl4030 audio submodule |
| 3 | * | 3 | * |
| 4 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> | 4 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
| 5 | * | 5 | * |
| @@ -259,14 +259,14 @@ | |||
| 259 | #define TWL4030_VIBRA_DIR_SEL 0x20 | 259 | #define TWL4030_VIBRA_DIR_SEL 0x20 |
| 260 | 260 | ||
| 261 | /* TWL4030 codec resource IDs */ | 261 | /* TWL4030 codec resource IDs */ |
| 262 | enum twl4030_codec_res { | 262 | enum twl4030_audio_res { |
| 263 | TWL4030_CODEC_RES_POWER = 0, | 263 | TWL4030_AUDIO_RES_POWER = 0, |
| 264 | TWL4030_CODEC_RES_APLL, | 264 | TWL4030_AUDIO_RES_APLL, |
| 265 | TWL4030_CODEC_RES_MAX, | 265 | TWL4030_AUDIO_RES_MAX, |
| 266 | }; | 266 | }; |
| 267 | 267 | ||
| 268 | int twl4030_codec_disable_resource(enum twl4030_codec_res id); | 268 | int twl4030_audio_disable_resource(enum twl4030_audio_res id); |
| 269 | int twl4030_codec_enable_resource(enum twl4030_codec_res id); | 269 | int twl4030_audio_enable_resource(enum twl4030_audio_res id); |
| 270 | unsigned int twl4030_codec_get_mclk(void); | 270 | unsigned int twl4030_audio_get_mclk(void); |
| 271 | 271 | ||
| 272 | #endif /* End of __TWL4030_CODEC_H__ */ | 272 | #endif /* End of __TWL4030_CODEC_H__ */ |
