diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2011-11-07 05:40:10 -0500 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-01-08 21:26:15 -0500 |
commit | 7d157fb02bc3f4dc74e6830725864ba501d92da7 (patch) | |
tree | 6955dbcf4ecd6684e193e872918fa9bd6f89228e /arch/blackfin/mach-bf538 | |
parent | 5ef835ebf9672cc594af0d13accd8fb239926a0f (diff) |
blackfin: config: update macro SPI_BFIN in board file
Macro name for spi controller driver has been modified, so update default
board file accordingly.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf538')
-rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index 8356eb599f19..1633a6f306c0 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -490,7 +490,7 @@ static struct platform_device smc91x_device = { | |||
490 | }; | 490 | }; |
491 | #endif | 491 | #endif |
492 | 492 | ||
493 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 493 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
494 | /* all SPI peripherals info goes here */ | 494 | /* all SPI peripherals info goes here */ |
495 | #if defined(CONFIG_MTD_M25P80) \ | 495 | #if defined(CONFIG_MTD_M25P80) \ |
496 | || defined(CONFIG_MTD_M25P80_MODULE) | 496 | || defined(CONFIG_MTD_M25P80_MODULE) |
@@ -874,7 +874,7 @@ static struct platform_device *cm_bf538_devices[] __initdata = { | |||
874 | #endif | 874 | #endif |
875 | #endif | 875 | #endif |
876 | 876 | ||
877 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 877 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
878 | &bf538_spi_master0, | 878 | &bf538_spi_master0, |
879 | &bf538_spi_master1, | 879 | &bf538_spi_master1, |
880 | &bf538_spi_master2, | 880 | &bf538_spi_master2, |
@@ -938,7 +938,7 @@ static int __init ezkit_init(void) | |||
938 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | 938 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
939 | platform_add_devices(cm_bf538_devices, ARRAY_SIZE(cm_bf538_devices)); | 939 | platform_add_devices(cm_bf538_devices, ARRAY_SIZE(cm_bf538_devices)); |
940 | 940 | ||
941 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 941 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
942 | spi_register_board_info(bf538_spi_board_info, | 942 | spi_register_board_info(bf538_spi_board_info, |
943 | ARRAY_SIZE(bf538_spi_board_info)); | 943 | ARRAY_SIZE(bf538_spi_board_info)); |
944 | #endif | 944 | #endif |