Kevin Hilman
54c44fb7df
OMAP2: cpu_is_omap2*: fix compile-time removal of unused code
...
Currently if omap2420 is defined but not omap2430, cpu_is_omap2430()
is still defined as a macro, instead of #define'd to zero. This
results in conditional cpu_is_omap2430() code still being compiled,
and leads to possible compile/link errors. In particular for hwmod
init.
To fix, add extra #ifdefs to CPU check macros to ensure that the
is_omap* macros are zero for each OMAP2 if they are not configured
into the kernel.
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2010-03-11 15:55:43 -08:00
..
2010-02-25 22:09:41 +00:00
2010-02-25 22:10:38 +00:00
2010-03-11 12:35:07 -08:00
2010-03-04 08:20:14 -08:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:07:25 +00:00
2010-02-12 17:32:36 +00:00
2010-02-12 17:27:52 +00:00
2010-03-01 13:05:40 -08:00
2010-02-25 22:09:41 +00:00
2010-02-12 17:27:52 +00:00
2010-03-06 15:12:17 +00:00
2010-02-25 22:09:41 +00:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:09:41 +00:00
2010-02-25 22:09:41 +00:00
2010-02-12 17:32:36 +00:00
2010-03-02 14:52:57 -08:00
2010-03-01 09:15:15 -08:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:32:36 +00:00
2010-02-12 17:27:52 +00:00
2010-03-01 09:15:15 -08:00
2010-02-25 22:09:41 +00:00
2010-01-27 22:03:00 +00:00
2010-03-01 09:15:15 -08:00
2010-03-11 15:55:43 -08:00
2010-03-01 09:15:15 -08:00
2010-02-25 22:10:38 +00:00
2010-03-07 17:04:50 -08:00
2010-03-01 09:15:15 -08:00
2010-02-12 17:27:52 +00:00
2010-02-25 22:09:41 +00:00
2009-12-09 19:43:33 -08:00
2010-03-07 17:04:50 -08:00
2009-12-09 19:43:33 -08:00
2010-01-15 17:04:42 +09:00
2009-12-15 08:59:33 -08:00
2010-02-12 17:27:52 +00:00
2010-01-22 09:58:17 +09:00
2010-02-12 17:27:52 +00:00
2010-03-07 17:04:50 -08:00
2010-02-12 17:27:52 +00:00
2010-03-04 08:20:14 -08:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:10:38 +00:00
2010-02-25 22:10:38 +00:00
2010-03-01 09:15:15 -08:00
2009-12-18 16:07:53 +00:00
2010-02-12 17:23:43 +00:00
2010-02-15 21:39:11 +00:00
2010-03-02 14:52:55 -08:00
2010-02-04 18:04:50 +00:00
2010-03-11 15:55:43 -08:00
2009-12-28 23:50:49 -05:00
2009-12-29 14:11:27 +08:00
2010-02-25 22:09:41 +00:00
2009-12-23 19:28:12 +00:00
2010-01-07 11:34:51 +09:00
2009-12-09 19:43:33 -08:00
2009-12-01 01:28:37 +00:00
2010-02-25 22:10:38 +00:00
2010-02-20 14:17:16 +00:00
2010-03-01 09:15:15 -08:00
2010-03-01 09:15:15 -08:00
2009-12-13 16:35:09 +00:00
2010-03-01 09:15:15 -08:00