diff options
author | Barry Song <barry.song@analog.com> | 2010-01-28 04:37:21 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 03:48:43 -0400 |
commit | 7ba80063e90302287625a105c546c2fc318fcfbf (patch) | |
tree | 49bf493e91254c69b5cf8b5e3c87146ea5806884 /arch/blackfin/mach-bf548 | |
parent | f9f0e3b1f7ac4e9fa822e87dd4bbb38f8c389487 (diff) |
Blackfin: boards: update AD183x resources
Make sure we use the right Kconfig names and platform strings.
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 56682a36e42d..176d56394f1b 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -966,8 +966,8 @@ static struct bfin5xx_spi_chip spi_flash_chip_info = { | |||
966 | }; | 966 | }; |
967 | #endif | 967 | #endif |
968 | 968 | ||
969 | #if defined(CONFIG_SND_BLACKFIN_AD183X) \ | 969 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) \ |
970 | || defined(CONFIG_SND_BLACKFIN_AD183X_MODULE) | 970 | || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) |
971 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | 971 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { |
972 | .enable_dma = 0, | 972 | .enable_dma = 0, |
973 | .bits_per_word = 16, | 973 | .bits_per_word = 16, |
@@ -1023,13 +1023,13 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
1023 | .mode = SPI_MODE_3, | 1023 | .mode = SPI_MODE_3, |
1024 | }, | 1024 | }, |
1025 | #endif | 1025 | #endif |
1026 | #if defined(CONFIG_SND_BLACKFIN_AD183X) \ | 1026 | #if defined(CONFIG_SND_BF5XX_SOC_AD183X) \ |
1027 | || defined(CONFIG_SND_BLACKFIN_AD183X_MODULE) | 1027 | || defined(CONFIG_SND_BF5XX_SOC_AD183X_MODULE) |
1028 | { | 1028 | { |
1029 | .modalias = "ad1836", | 1029 | .modalias = "ad183x", |
1030 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 1030 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
1031 | .bus_num = 1, | 1031 | .bus_num = 1, |
1032 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 1032 | .chip_select = 4, |
1033 | .controller_data = &ad1836_spi_chip_info, | 1033 | .controller_data = &ad1836_spi_chip_info, |
1034 | }, | 1034 | }, |
1035 | #endif | 1035 | #endif |