summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/sama5d3.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2013-11-08 07:45:56 +0100
committerSekhar Nori <nsekhar@ti.com>2013-11-21 15:43:28 +0100
commite462f1f5174893f3f5efd03a31ca014b02120f9a (patch)
tree64f1a18a6db51faabe1810fdda08133838c7553d /arch/arm/mach-at91/sama5d3.c
parentgpio: davinci: fix check for unbanked gpio (diff)
downloadlinux-e462f1f5174893f3f5efd03a31ca014b02120f9a.tar.xz
linux-e462f1f5174893f3f5efd03a31ca014b02120f9a.zip
ARM: davinci: fix number of resources passed to davinci_gpio_register()
The davinci_gpio_register() function expects the number of resources as the second parameter, but sizeof() resources was passed to it due to which it was causing unexpected behaviour. This patch fixes the same by passing the ARRAY_SIZE() of resources. Reported-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-at91/sama5d3.c')
0 files changed, 0 insertions, 0 deletions