Commit e68edb29 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Russell King

[ARM PATCH] 2474/1: Fix compile for badge4

Patch from Thomas Gleixner

Trivial build fix for badge4 platform

Signed-off-by: Thomas Gleixner
Signed-off-by: Russell King
parent 735a58f4
...@@ -57,7 +57,7 @@ static struct platform_device sa1111_device = { ...@@ -57,7 +57,7 @@ static struct platform_device sa1111_device = {
.name = "sa1111", .name = "sa1111",
.id = 0, .id = 0,
.dev = { .dev = {
.dma_mask = &sa1111_dmamask; .dma_mask = &sa1111_dmamask,
.coherent_dma_mask = 0xffffffff, .coherent_dma_mask = 0xffffffff,
}, },
.num_resources = ARRAY_SIZE(sa1111_resources), .num_resources = ARRAY_SIZE(sa1111_resources),
...@@ -212,8 +212,7 @@ static int __init badge4_init(void) ...@@ -212,8 +212,7 @@ static int __init badge4_init(void)
/* maybe turn on 5v0 from the start */ /* maybe turn on 5v0 from the start */
badge4_set_5V(BADGE4_5V_INITIALLY, five_v_on); badge4_set_5V(BADGE4_5V_INITIALLY, five_v_on);
sa11x0_set_flash_data(badge4_flash_data, badge4_flash_resources, sa11x0_set_flash_data(&badge4_flash_data, &badge4_flash_resource, 1);
ARRAY_SIZE(badge4_flash_resources);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment