Files
linux-apfs/arch/arm/mach-omap2
Paul Walmsley bc6149587b omap_hwmod: use a terminator record with omap_hwmod_dma_info arrays
Previously, struct omap_hwmod_dma_info 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_dma_info
arrays and uses a sentinel value (irq == -1) as the array terminator
instead.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
2011-07-09 19:14:07 -06:00
..
2011-06-29 01:11:37 -07:00
2011-06-30 12:58:01 +00:00
2011-03-09 18:44:28 -07:00
2011-03-07 20:21:17 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-06-29 01:11:37 -07:00
2011-05-12 02:52:06 -07:00
2011-05-12 02:52:06 -07:00
2011-03-29 14:47:57 +02:00
2011-02-17 09:52:43 -08:00
2011-05-17 03:31:24 -07:00
2011-03-31 11:26:23 -03:00
2010-07-05 16:31:36 +03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-27 16:39:40 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-12-21 20:01:54 -07:00
2010-12-17 15:13:44 -08:00
2011-05-12 02:52:06 -07:00
2011-01-06 19:58:28 -08:00