aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-04-04 07:02:10 -0400
committerSteven Miao <realmz6@gmail.com>2014-04-11 20:47:57 -0400
commit6ffe34638e54d792e3d58633008891c2f3619d64 (patch)
tree653614e3cc7e8c3a7b233a3a4973b7173fe497c5
parentcb8f05f74f7e8dda92095e2f9d400f799a8d1846 (diff)
Blackfin: bf537: rename ad2s120x ->ad2s1200
In v3.2 the Analog Devices ad2s1200/ad2s1205 driver was renamed from ad2s120x to ad2s1200. But it apparently forgot to rename the references to this driver in the BF537-STAMP code. Rename these now, and use the IS_ENABLED() macro, while we're at it. Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 50c2b0a52475..60ce59891495 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -655,13 +655,13 @@ static struct bfin5xx_spi_chip ad2s90_spi_chip_info = {
655}; 655};
656#endif 656#endif
657 657
658#if defined(CONFIG_AD2S120X) || defined(CONFIG_AD2S120X_MODULE) 658#if IS_ENABLED(CONFIG_AD2S1200)
659static unsigned short ad2s120x_platform_data[] = { 659static unsigned short ad2s1200_platform_data[] = {
660 /* used as SAMPLE and RDVEL */ 660 /* used as SAMPLE and RDVEL */
661 GPIO_PF5, GPIO_PF6, 0 661 GPIO_PF5, GPIO_PF6, 0
662}; 662};
663 663
664static struct bfin5xx_spi_chip ad2s120x_spi_chip_info = { 664static struct bfin5xx_spi_chip ad2s1200_spi_chip_info = {
665 .enable_dma = 0, 665 .enable_dma = 0,
666}; 666};
667#endif 667#endif
@@ -1019,13 +1019,13 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
1019 }, 1019 },
1020#endif 1020#endif
1021 1021
1022#if defined(CONFIG_AD2S120X) || defined(CONFIG_AD2S120X_MODULE) 1022#if IS_ENABLED(CONFIG_AD2S1200)
1023 { 1023 {
1024 .modalias = "ad2s120x", 1024 .modalias = "ad2s1200",
1025 .bus_num = 0, 1025 .bus_num = 0,
1026 .chip_select = 4, /* CS, change it for your board */ 1026 .chip_select = 4, /* CS, change it for your board */
1027 .platform_data = ad2s120x_platform_data, 1027 .platform_data = ad2s1200_platform_data,
1028 .controller_data = &ad2s120x_spi_chip_info, 1028 .controller_data = &ad2s1200_spi_chip_info,
1029 }, 1029 },
1030#endif 1030#endif
1031 1031