diff options
Diffstat (limited to 'arch/arm/mach-orion5x/common.c')
| -rw-r--r-- | arch/arm/mach-orion5x/common.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index 0a623379789..8a0e49d8425 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c | |||
| @@ -431,6 +431,10 @@ void __init orion5x_uart1_init(void) | |||
| 431 | /***************************************************************************** | 431 | /***************************************************************************** |
| 432 | * XOR engine | 432 | * XOR engine |
| 433 | ****************************************************************************/ | 433 | ****************************************************************************/ |
| 434 | struct mv_xor_platform_shared_data orion5x_xor_shared_data = { | ||
| 435 | .dram = &orion5x_mbus_dram_info, | ||
| 436 | }; | ||
| 437 | |||
| 434 | static struct resource orion5x_xor_shared_resources[] = { | 438 | static struct resource orion5x_xor_shared_resources[] = { |
| 435 | { | 439 | { |
| 436 | .name = "xor low", | 440 | .name = "xor low", |
| @@ -448,6 +452,9 @@ static struct resource orion5x_xor_shared_resources[] = { | |||
| 448 | static struct platform_device orion5x_xor_shared = { | 452 | static struct platform_device orion5x_xor_shared = { |
| 449 | .name = MV_XOR_SHARED_NAME, | 453 | .name = MV_XOR_SHARED_NAME, |
| 450 | .id = 0, | 454 | .id = 0, |
| 455 | .dev = { | ||
| 456 | .platform_data = &orion5x_xor_shared_data, | ||
| 457 | }, | ||
| 451 | .num_resources = ARRAY_SIZE(orion5x_xor_shared_resources), | 458 | .num_resources = ARRAY_SIZE(orion5x_xor_shared_resources), |
| 452 | .resource = orion5x_xor_shared_resources, | 459 | .resource = orion5x_xor_shared_resources, |
| 453 | }; | 460 | }; |
