diff options
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 14 |
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) |
659 | static unsigned short ad2s120x_platform_data[] = { | 659 | static 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 | ||
664 | static struct bfin5xx_spi_chip ad2s120x_spi_chip_info = { | 664 | static 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 | ||