linux-sg2042/arch/arm/mach-davinci
Arnd Bergmann de9234306b ARM: davinci: remove broken ntosd2_init_i2c
ntosd2_init_i2c walks the ntosd2_i2c_info array, which it expects to
be populated with at least one member. gcc correctly warns about
the out-of-bounds access here.

Since this can not possibly work, it's better to disable i2c
support entirely on this board.

Without this patch, building davinci_all_defconfig results in:

arch/arm/mach-davinci/board-neuros-osd2.c: In function 'davinci_ntosd2_init':
arch/arm/mach-davinci/board-neuros-osd2.c:187:20: warning: array subscript is above array bounds [-Warray-bounds]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Andrey Porodko <panda@chelcom.ru>
2012-08-10 13:14:36 +02:00
..
include/mach arm-soc: device tree description updates 2012-07-23 16:17:43 -07:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-07-24 13:34:56 -07:00
Makefile ARM: davinci: add runtime PM support for clock management 2012-07-01 17:26:26 +05:30
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
aemif.c davinci: aemif: signedness bug in davinci_aemif_setup_timing() 2010-12-10 07:33:51 -08:00
board-da830-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-da850-evm.c arm-soc: sweeping late_initcall cleanup 2012-05-26 13:14:01 -07:00
board-dm355-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm355-leopard.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm365-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm644x-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-dm646x-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-mityomapl138.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-neuros-osd2.c ARM: davinci: remove broken ntosd2_init_i2c 2012-08-10 13:14:36 +02:00
board-omapl138-hawk.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-sffsdr.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
board-tnetv107x-evm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cdce949.c arm: fix implicit module.h users by adding it to arch/arm as required. 2011-10-31 19:30:50 -04:00
clock.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
clock.h ARM: davinci: add support for multiple power domains 2011-12-03 00:35:52 +05:30
common.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cp_intc.c ARM: davinci: cp_intc: Add OF support for TI interrupt controller 2012-07-05 14:12:35 +05:30
cpufreq.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cpuidle.c ARM: davinci: Fix for cpuidle consolidation changes 2012-03-22 01:19:44 -04:00
da830.c ARM: 7190/1: restart: davinci: use new restart hook 2012-01-05 12:57:09 +00:00
da850.c ARM: davinci: DA850: move da850_register_pm to .init.text 2012-03-13 02:11:33 +05:30
davinci.h ARM: davinci: mark spi_board_info arguments as const 2012-04-19 01:50:30 +05:30
devices-da8xx.c arm: da850: configure LCDC fifo threshold 2012-07-29 01:11:09 +00:00
devices-tnetv107x.c ARM: davinci: Explicitly set channel controllers' default queues 2011-09-17 15:54:08 +05:30
devices.c ARM: davinci: streamline sysmod access 2012-02-25 02:40:17 +05:30
dm355.c ARM: davinci: mark spi_board_info arguments as const 2012-04-19 01:50:30 +05:30
dm365.c ARM: davinci: mark spi_board_info arguments as const 2012-04-19 01:50:30 +05:30
dm644x.c ARM: davinci: dm644x: add support for v4l2 video display 2012-03-11 12:41:29 +05:30
dm646x.c ARM: davinci: streamline sysmod access 2012-02-25 02:40:17 +05:30
dma.c arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
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
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.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
pm_domain.c ARM: davinci: add runtime PM support for clock management 2012-07-01 17:26:26 +05:30
psc.c ARM: davinci: psc: fix incorrect offsets 2011-12-05 16:47:15 +05:30
serial.c Davinci: serial - conditional reset via pwremu 2010-05-06 15:02:10 -07:00
sleep.S Merge branch 'depends/rmk/memory_h' into next/fixes 2011-10-31 23:11:53 +01:00
sram.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
time.c ARM: davinci: convert to common sched_clock() implementation 2012-02-03 11:34:25 +00:00
tnetv107x.c ARM: 7190/1: restart: davinci: use new restart hook 2012-01-05 12:57:09 +00:00
usb.c DA8xx: assign name to MUSB IRQ resource 2010-12-11 12:15:53 +02:00