mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
bf609: reuse bf5xx-i2s-pcm.c as i2s pcm driver
It's the same for both bf5xx and bf6xx soc. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
parent
c38670bc5d
commit
2984b52b07
1 changed files with 2 additions and 2 deletions
|
@ -742,7 +742,7 @@ static struct bfin6xx_spi_chip spidev_chip_info = {
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_SND_BF6XX_I2S) || defined(CONFIG_SND_BF6XX_I2S_MODULE)
|
#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
|
||||||
static struct platform_device bfin_i2s_pcm = {
|
static struct platform_device bfin_i2s_pcm = {
|
||||||
.name = "bfin-i2s-pcm-audio",
|
.name = "bfin-i2s-pcm-audio",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
|
@ -1460,7 +1460,7 @@ static struct platform_device *ezkit_devices[] __initdata = {
|
||||||
#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
|
#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
|
||||||
&ezkit_flash_device,
|
&ezkit_flash_device,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_SND_BF6XX_I2S) || defined(CONFIG_SND_BF6XX_I2S_MODULE)
|
#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
|
||||||
&bfin_i2s_pcm,
|
&bfin_i2s_pcm,
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_SND_BF6XX_SOC_I2S) || \
|
#if defined(CONFIG_SND_BF6XX_SOC_I2S) || \
|
||||||
|
|
Loading…
Reference in a new issue