diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2018-01-29 03:46:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-12 12:45:23 +0100 |
commit | 7f1106616ab634c6b827ce7abf1331a2a817de40 (patch) | |
tree | b7fe6ed769c22c193888b5cad6a785dfaee3a7c0 /sound/soc/fsl/fsl_asrc.h | |
parent | ASoC: fsl: dma: replace platform to component (diff) | |
download | linux-7f1106616ab634c6b827ce7abf1331a2a817de40.tar.xz linux-7f1106616ab634c6b827ce7abf1331a2a817de40.zip |
ASoC: fsl: asrc: replace platform to component
Now platform can be replaced to component, let's do it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.h')
-rw-r--r-- | sound/soc/fsl/fsl_asrc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_asrc.h b/sound/soc/fsl/fsl_asrc.h index 2c5856ac5bc3..d558dd5499a5 100644 --- a/sound/soc/fsl/fsl_asrc.h +++ b/sound/soc/fsl/fsl_asrc.h @@ -462,6 +462,7 @@ struct fsl_asrc { u32 regcache_cfg; }; -extern struct snd_soc_platform_driver fsl_asrc_platform; +#define DRV_NAME "fsl-asrc-dai" +extern struct snd_soc_component_driver fsl_asrc_component; struct dma_chan *fsl_asrc_get_dma_channel(struct fsl_asrc_pair *pair, bool dir); #endif /* _FSL_ASRC_H */ |