aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm644x.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/dm644x.c')
-rw-r--r--arch/arm/mach-davinci/dm644x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c
index 143a3217e8ef..7ee73fc588f0 100644
--- a/arch/arm/mach-davinci/dm644x.c
+++ b/arch/arm/mach-davinci/dm644x.c
@@ -572,6 +572,7 @@ static struct platform_device dm644x_edma_device = {
572/* DM6446 EVM uses ASP0; line-out is a pair of RCA jacks */ 572/* DM6446 EVM uses ASP0; line-out is a pair of RCA jacks */
573static struct resource dm644x_asp_resources[] = { 573static struct resource dm644x_asp_resources[] = {
574 { 574 {
575 .name = "mpu",
575 .start = DAVINCI_ASP0_BASE, 576 .start = DAVINCI_ASP0_BASE,
576 .end = DAVINCI_ASP0_BASE + SZ_8K - 1, 577 .end = DAVINCI_ASP0_BASE + SZ_8K - 1,
577 .flags = IORESOURCE_MEM, 578 .flags = IORESOURCE_MEM,
@@ -786,13 +787,12 @@ static struct resource dm644_gpio_resources[] = {
786 787
787static struct davinci_gpio_platform_data dm644_gpio_platform_data = { 788static struct davinci_gpio_platform_data dm644_gpio_platform_data = {
788 .ngpio = 71, 789 .ngpio = 71,
789 .intc_irq_num = DAVINCI_N_AINTC_IRQ,
790}; 790};
791 791
792int __init dm644x_gpio_register(void) 792int __init dm644x_gpio_register(void)
793{ 793{
794 return davinci_gpio_register(dm644_gpio_resources, 794 return davinci_gpio_register(dm644_gpio_resources,
795 sizeof(dm644_gpio_resources), 795 ARRAY_SIZE(dm644_gpio_resources),
796 &dm644_gpio_platform_data); 796 &dm644_gpio_platform_data);
797} 797}
798/*----------------------------------------------------------------------*/ 798/*----------------------------------------------------------------------*/