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-bf537/boards/minotaur.c | |
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-bf537/boards/minotaur.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/minotaur.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf537/boards/minotaur.c b/arch/blackfin/mach-bf537/boards/minotaur.c index 3901dd093b90..d2d71282618f 100644 --- a/arch/blackfin/mach-bf537/boards/minotaur.c +++ b/arch/blackfin/mach-bf537/boards/minotaur.c | |||
@@ -121,7 +121,7 @@ static struct platform_device net2272_bfin_device = { | |||
121 | }; | 121 | }; |
122 | #endif | 122 | #endif |
123 | 123 | ||
124 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 124 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
125 | /* all SPI peripherals info goes here */ | 125 | /* all SPI peripherals info goes here */ |
126 | 126 | ||
127 | #if defined(CONFIG_MTD_M25P80) \ | 127 | #if defined(CONFIG_MTD_M25P80) \ |
@@ -496,7 +496,7 @@ static struct platform_device *minotaur_devices[] __initdata = { | |||
496 | &net2272_bfin_device, | 496 | &net2272_bfin_device, |
497 | #endif | 497 | #endif |
498 | 498 | ||
499 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 499 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
500 | &bfin_spi0_device, | 500 | &bfin_spi0_device, |
501 | #endif | 501 | #endif |
502 | 502 | ||
@@ -537,7 +537,7 @@ static int __init minotaur_init(void) | |||
537 | { | 537 | { |
538 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | 538 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
539 | platform_add_devices(minotaur_devices, ARRAY_SIZE(minotaur_devices)); | 539 | platform_add_devices(minotaur_devices, ARRAY_SIZE(minotaur_devices)); |
540 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 540 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
541 | spi_register_board_info(bfin_spi_board_info, | 541 | spi_register_board_info(bfin_spi_board_info, |
542 | ARRAY_SIZE(bfin_spi_board_info)); | 542 | ARRAY_SIZE(bfin_spi_board_info)); |
543 | #endif | 543 | #endif |