diff options
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index d357f648d963..79a55b42e964 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -220,6 +220,7 @@ static struct platform_device bfin_uart_device = { | |||
220 | }; | 220 | }; |
221 | #endif | 221 | #endif |
222 | 222 | ||
223 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
223 | static struct mtd_partition ezkit_partitions[] = { | 224 | static struct mtd_partition ezkit_partitions[] = { |
224 | { | 225 | { |
225 | .name = "Bootloader", | 226 | .name = "Bootloader", |
@@ -257,6 +258,7 @@ static struct platform_device ezkit_flash_device = { | |||
257 | .num_resources = 1, | 258 | .num_resources = 1, |
258 | .resource = &ezkit_flash_resource, | 259 | .resource = &ezkit_flash_resource, |
259 | }; | 260 | }; |
261 | #endif | ||
260 | 262 | ||
261 | #ifdef CONFIG_SPI_BFIN | 263 | #ifdef CONFIG_SPI_BFIN |
262 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ | 264 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ |
@@ -460,7 +462,10 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
460 | #endif | 462 | #endif |
461 | 463 | ||
462 | &bfin_gpios_device, | 464 | &bfin_gpios_device, |
465 | |||
466 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
463 | &ezkit_flash_device, | 467 | &ezkit_flash_device, |
468 | #endif | ||
464 | }; | 469 | }; |
465 | 470 | ||
466 | static int __init ezkit_init(void) | 471 | static int __init ezkit_init(void) |