diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 3e80a795d3c7..e997d7f9a671 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -562,6 +562,30 @@ static struct platform_device bfin_dpmc = { | |||
562 | }, | 562 | }, |
563 | }; | 563 | }; |
564 | 564 | ||
565 | #if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) | ||
566 | static struct platform_device bfin_i2s = { | ||
567 | .name = "bfin-i2s", | ||
568 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
569 | /* TODO: add platform data here */ | ||
570 | }; | ||
571 | #endif | ||
572 | |||
573 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) | ||
574 | static struct platform_device bfin_tdm = { | ||
575 | .name = "bfin-tdm", | ||
576 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
577 | /* TODO: add platform data here */ | ||
578 | }; | ||
579 | #endif | ||
580 | |||
581 | #if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE) | ||
582 | static struct platform_device bfin_ac97 = { | ||
583 | .name = "bfin-ac97", | ||
584 | .id = CONFIG_SND_BF5XX_SPORT_NUM, | ||
585 | /* TODO: add platform data here */ | ||
586 | }; | ||
587 | #endif | ||
588 | |||
565 | static struct platform_device *stamp_devices[] __initdata = { | 589 | static struct platform_device *stamp_devices[] __initdata = { |
566 | 590 | ||
567 | &bfin_dpmc, | 591 | &bfin_dpmc, |
@@ -614,6 +638,18 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
614 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) | 638 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) |
615 | &stamp_flash_device, | 639 | &stamp_flash_device, |
616 | #endif | 640 | #endif |
641 | |||
642 | #if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) | ||
643 | &bfin_i2s, | ||
644 | #endif | ||
645 | |||
646 | #if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE) | ||
647 | &bfin_tdm, | ||
648 | #endif | ||
649 | |||
650 | #if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE) | ||
651 | &bfin_ac97, | ||
652 | #endif | ||
617 | }; | 653 | }; |
618 | 654 | ||
619 | static int __init stamp_init(void) | 655 | static int __init stamp_init(void) |