diff options
Diffstat (limited to 'arch/blackfin/mach-bf533/boards/cm_bf533.c')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/cm_bf533.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index 2c8f30ef6a7b..fe47e048c4e6 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -29,7 +29,7 @@ | |||
29 | */ | 29 | */ |
30 | const char bfin_board_name[] = "Bluetechnix CM BF533"; | 30 | const char bfin_board_name[] = "Bluetechnix CM BF533"; |
31 | 31 | ||
32 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 32 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
33 | /* all SPI peripherals info goes here */ | 33 | /* all SPI peripherals info goes here */ |
34 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 34 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) |
35 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 35 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
@@ -536,7 +536,7 @@ static struct platform_device *cm_bf533_devices[] __initdata = { | |||
536 | &net2272_bfin_device, | 536 | &net2272_bfin_device, |
537 | #endif | 537 | #endif |
538 | 538 | ||
539 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 539 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
540 | &bfin_spi0_device, | 540 | &bfin_spi0_device, |
541 | #endif | 541 | #endif |
542 | 542 | ||
@@ -549,7 +549,7 @@ static int __init cm_bf533_init(void) | |||
549 | { | 549 | { |
550 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | 550 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
551 | platform_add_devices(cm_bf533_devices, ARRAY_SIZE(cm_bf533_devices)); | 551 | platform_add_devices(cm_bf533_devices, ARRAY_SIZE(cm_bf533_devices)); |
552 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 552 | #if defined(CONFIG_SPI_BFIN5XX) || defined(CONFIG_SPI_BFIN5XX_MODULE) |
553 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 553 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
554 | #endif | 554 | #endif |
555 | return 0; | 555 | return 0; |