]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: davinci-mcasp: Correct am33xx snd_platform_data name
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 14 Nov 2013 09:35:37 +0000 (11:35 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 10 Dec 2013 11:22:17 +0000 (11:22 +0000)
An earlier patch overlooked this when the compatible has been changed from
omap2 -> am33x.
Rename omap2_mcasp_pdata to am33xx_mcasp_pdata.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-mcasp.c

index 19c66625af4e66274015e60e9eab56ea28848aad..8ec8795484886d191fd48a4b5ecd466ac24c94e6 100644 (file)
@@ -788,7 +788,7 @@ static struct snd_platform_data da830_mcasp_pdata = {
        .version = MCASP_VERSION_2,
 };
 
-static struct snd_platform_data omap2_mcasp_pdata = {
+static struct snd_platform_data am33xx_mcasp_pdata = {
        .tx_dma_offset = 0,
        .rx_dma_offset = 0,
        .asp_chan_q = EVENTQ_0,
@@ -813,7 +813,7 @@ static const struct of_device_id mcasp_dt_ids[] = {
        },
        {
                .compatible = "ti,am33xx-mcasp-audio",
-               .data = &omap2_mcasp_pdata,
+               .data = &am33xx_mcasp_pdata,
        },
        {
                .compatible = "ti,dra7-mcasp-audio",