Skip to content

Commit

Permalink
ASoC: davinci-mcasp: Correct am33xx snd_platform_data name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Dec 10, 2013
1 parent f68205a commit b14899d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/davinci/davinci-mcasp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand Down

0 comments on commit b14899d

Please sign in to comment.