Skip to content

Commit

Permalink
Blackfin: bf537-stamp: register ASoC EVAL-ADAU1373 board driver
Browse files Browse the repository at this point in the history
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Lars-Peter Clausen authored and Mike Frysinger committed Oct 25, 2011
1 parent 080ae07 commit af80d0d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/blackfin/mach-bf537/boards/stamp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2674,6 +2674,13 @@ static struct platform_device iio_gpio_trigger = {
};
#endif

#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) || \
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373_MODULE)
static struct platform_device bf5xx_adau1373_device = {
.name = "bfin-eval-adau1373",
};
#endif

#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
static struct platform_device bf5xx_adau1701_device = {
Expand Down Expand Up @@ -2842,6 +2849,11 @@ static struct platform_device *stamp_devices[] __initdata = {
&iio_gpio_trigger,
#endif

#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373) || \
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1373_MODULE)
&bf5xx_adau1373_device,
#endif

#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701) || \
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1701_MODULE)
&bf5xx_adau1701_device,
Expand Down

0 comments on commit af80d0d

Please sign in to comment.