aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537/boards/stamp.c
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2010-02-22 05:31:06 -0500
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:52 -0500
commitd40bd71f88e7be193ce4feb4b92572c70024b9c2 (patch)
tree7b1cad97fe71134186872411a4e40a290b234f55 /arch/blackfin/mach-bf537/boards/stamp.c
parentdf6a949b4666780969fd90a2f3ac3db3b62552d6 (diff)
Blackfin: rename AD1836 to AD183X in board files
The ASoC codec driver was generalized and renamed, so update the board resources accordingly. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/stamp.c')
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 283cc66f0220..e0f5663a8acb 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -528,8 +528,8 @@ static struct bfin5xx_spi_chip spi_adc_chip_info = {
528}; 528};
529#endif 529#endif
530 530
531#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \ 531#if defined(CONFIG_SND_BF5XX_SOC_AD183X) \
532 || defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE) 532 || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE)
533static struct bfin5xx_spi_chip ad1836_spi_chip_info = { 533static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
534 .enable_dma = 0, 534 .enable_dma = 0,
535 .bits_per_word = 16, 535 .bits_per_word = 16,
@@ -953,13 +953,14 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
953 }, 953 },
954#endif 954#endif
955 955
956#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \ 956#if defined(CONFIG_SND_BF5XX_SOC_AD183X) \
957 || defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE) 957 || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE)
958 { 958 {
959 .modalias = "ad1836", 959 .modalias = "ad183x",
960 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ 960 .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */
961 .bus_num = 0, 961 .bus_num = 0,
962 .chip_select = 4,/* CONFIG_SND_BLACKFIN_SPI_PFBIT */ 962 .chip_select = 4,/* CONFIG_SND_BLACKFIN_SPI_PFBIT */
963 .platform_data = "ad1836", /* only includes chip name for the moment */
963 .controller_data = &ad1836_spi_chip_info, 964 .controller_data = &ad1836_spi_chip_info,
964 .mode = SPI_MODE_3, 965 .mode = SPI_MODE_3,
965 }, 966 },