diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index fc179ca07799..29f16e5c37b9 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -587,6 +587,21 @@ static struct platform_device bfin_tdm = { | |||
587 | }; | 587 | }; |
588 | #endif | 588 | #endif |
589 | 589 | ||
590 | #if defined(CONFIG_SND_BF5XX_SOC_AD1836) \ | ||
591 | || defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE) | ||
592 | static const char * const ad1836_link[] = { | ||
593 | "bfin-tdm.0", | ||
594 | "spi0.4", | ||
595 | }; | ||
596 | static struct platform_device bfin_ad1836_machine = { | ||
597 | .name = "bfin-snd-ad1836", | ||
598 | .id = -1, | ||
599 | .dev = { | ||
600 | .platform_data = (void *)ad1836_link, | ||
601 | }, | ||
602 | }; | ||
603 | #endif | ||
604 | |||
590 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | 605 | static struct spi_board_info bfin_spi_board_info[] __initdata = { |
591 | #if defined(CONFIG_MTD_M25P80) \ | 606 | #if defined(CONFIG_MTD_M25P80) \ |
592 | || defined(CONFIG_MTD_M25P80_MODULE) | 607 | || defined(CONFIG_MTD_M25P80_MODULE) |
@@ -1269,6 +1284,11 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
1269 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) | 1284 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) |
1270 | &bfin_tdm, | 1285 | &bfin_tdm, |
1271 | #endif | 1286 | #endif |
1287 | |||
1288 | #if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \ | ||
1289 | defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE) | ||
1290 | &bfin_ad1836_machine, | ||
1291 | #endif | ||
1272 | }; | 1292 | }; |
1273 | 1293 | ||
1274 | static int __init ezkit_init(void) | 1294 | static int __init ezkit_init(void) |