alistair23-linux/arch/arm/plat-omap
Paul Walmsley 78183f3fdf omap_hwmod: use a null structure record to terminate omap_hwmod_addr_space arrays
Previously, struct omap_hwmod_addr_space arrays were unterminated; and
users of these arrays used the ARRAY_SIZE() macro to determine the
length of the array.  However, ARRAY_SIZE() only works when the array
is in the same scope as the macro user.

So far this hasn't been a problem.  However, to reduce duplicated
data, a subsequent patch will move common data to a separate, shared
file.  When this is done, ARRAY_SIZE() will no longer be usable.

This patch removes ARRAY_SIZE() usage for struct omap_hwmod_addr_space
arrays and uses a null structure member as the array terminator
instead.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-07-09 19:14:05 -06:00
..
include/plat omap_hwmod: use a null structure record to terminate omap_hwmod_addr_space arrays 2011-07-09 19:14:05 -06:00
clock.c
common.c
counter_32k.c omap2+: Use dmtimer macros for clocksource 2011-06-27 12:14:01 -07:00
cpu-omap.c
debug-devices.c
debug-leds.c
devices.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dma.c Fix common misspellings 2011-03-31 11:26:23 -03:00
dmtimer.c omap2+: Reserve clocksource and timesource and initialize dmtimer later 2011-06-27 12:14:01 -07:00
fb.c
fb.h
i2c.c
io.c
iommu-debug.c
iommu.c omap: iommu: Return IRQ_HANDLED in fault handler when no fault occured 2011-05-11 10:47:50 -07:00
iopgtable.h
iovmm.c OMAP: iovmm: fix SW flags passed by user 2011-06-01 02:25:04 -07:00
Kconfig Merge branch 'devel-stable' into for-linus 2011-05-23 19:28:04 +01:00
mailbox.c Merge branch 'for-2.6.39' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq 2011-03-16 08:20:19 -07:00
Makefile GPIO: OMAP: move to drivers/gpio 2011-05-27 08:43:34 -07:00
mcbsp.c omap: mcbsp: Remove rx_/tx_word_length variables 2011-07-07 12:06:16 -07:00
mux.c
ocpi.c
omap-pm-noop.c
omap_device.c OMAP: PM: omap_device: fix device power domain callbacks 2011-06-06 16:15:04 -07:00
sram.c OMAP: SRAM: Fix warning: format '%08lx' expects type 'long unsigned int' 2011-05-31 06:17:02 -07:00
sram.h
usb.c