dai: rename dai new() to remove SSP reference.

DAI driver is generic so shouldn't refer to SSP.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2017-09-20 12:41:44 +01:00
parent 7d00023689
commit 92b72e093c
1 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ static void dai_dma_cb(void *data, uint32_t type, struct dma_sg_elem *next)
return;
}
static struct comp_dev *dai_new_ssp(struct sof_ipc_comp *comp)
static struct comp_dev *dai_new(struct sof_ipc_comp *comp)
{
struct comp_dev *dev;
struct sof_ipc_comp_dai *dai;
@ -525,7 +525,7 @@ static int dai_config(struct comp_dev *dev, struct sof_ipc_dai_config *config)
static struct comp_driver comp_dai = {
.type = SOF_COMP_DAI,
.ops = {
.new = dai_new_ssp,
.new = dai_new,
.free = dai_free,
.params = dai_params,
.cmd = dai_cmd,