linux/arch/arm/mach-davinci
Lad, Prabhakar e462f1f517 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>
2013-11-21 20:13:28 +05:30
..
include/mach ARM: driver updates for 3.13 2013-11-11 17:05:37 +09:00
aemif.c ARM: davinci: move platform_data definitions 2012-09-14 11:16:54 +02:00
asp.h ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific 2012-08-27 11:12:09 -07:00
board-da830-evm.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
board-da850-evm.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
board-dm355-evm.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-dm355-leopard.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-dm365-evm.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
board-dm644x-evm.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
board-dm646x-evm.c Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
board-mityomapl138.c misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
board-neuros-osd2.c ARM: davinci: board: gpio device creation 2013-09-25 04:15:40 +05:30
board-omapl138-hawk.c ARM: driver updates for 3.13 2013-11-11 17:05:37 +09:00
board-sffsdr.c misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
board-tnetv107x-evm.c ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
cdce949.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
clock.c ARM: davinci: clk framework support for enable/disable functionality 2013-04-01 16:54:47 +05:30
clock.h ARM: davinci: clk framework support for enable/disable functionality 2013-04-01 16:54:47 +05:30
common.c ARM: davinci: remove obsoleted init_consistent_dma_size() 2012-11-13 10:13:20 +01:00
cp_intc.c ARM: davinci: cp_intc: Add OF support for TI interrupt controller 2012-07-05 14:12:35 +05:30
cpuidle.c ARM: davinci: cpuidle: Fix target residency 2013-07-27 07:56:37 +02:00
da8xx-dt.c ARM: davinci: da850: add OF_DEV_AUXDATA entry for davinci_emac 2013-08-22 00:44:58 +05:30
da830.c ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
da850.c ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
davinci.h ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
devices-da8xx.c ARM: davinci: da8xx: support gpio platform device 2013-09-24 10:48:44 +05:30
devices-tnetv107x.c ARM: davinci: serial: get rid of davinci_uart_config 2013-08-22 00:38:59 +05:30
devices.c ARM: davinci: support gpio platform device 2013-09-24 12:03:34 +05:30
dm355.c ARM: davinci: fix number of resources passed to davinci_gpio_register() 2013-11-21 20:13:28 +05:30
dm365.c ARM: davinci: fix number of resources passed to davinci_gpio_register() 2013-11-21 20:13:28 +05:30
dm644x.c ARM: davinci: fix number of resources passed to davinci_gpio_register() 2013-11-21 20:13:28 +05:30
dm646x.c ARM: davinci: fix number of resources passed to davinci_gpio_register() 2013-11-21 20:13:28 +05:30
irq.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-19 22:10:05 -07:00
Kconfig cpufreq: remove CONFIG_CPU_FREQ_TABLE 2013-10-16 00:50:33 +02:00
Makefile ARM: davinci: move private EDMA API to arm/common 2013-06-18 10:52:03 +05:30
Makefile.boot ARM: davinci: move dtb targets to common location 2012-11-19 22:25:59 -08:00
mux.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm_domain.c [media] media: davinci: vpss: enable vpss clocks 2013-04-14 20:08:09 -03:00
pm.c ARM: davinci: ensure global variables are declared 2013-04-17 19:26:41 +05:30
psc.c ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
serial.c ARM: davinci: serial: remove davinci_serial_setup_clk() 2013-08-22 00:38:59 +05:30
sleep.S Merge branch 'depends/rmk/memory_h' into next/fixes 2011-10-31 23:11:53 +01:00
sram.c arch/arm/mach-davinci/sram.c: use gen_pool_dma_alloc() to sram.c 2013-11-13 12:09:22 +09:00
time.c Merge branch 'davinci/soc' into next/soc 2013-10-17 14:37:25 -07:00
tnetv107x.c ARM: davinci: uart: move to devid based clk_get 2013-07-22 15:34:55 +05:30
usb.c v3.10 board updates for DaVinci 2013-04-17 23:54:41 -07:00