Thread (5 messages) flat view 5 messages, 4 authors, 2012-02-23
STALE5282d

[PATCH] ARM: OMAP2: fix mailbox init code

From: Bedia, Vaibhav <hidden>
Date: 2012-02-23 09:18:01
Also in: linux-omap

On Thu, Feb 23, 2012 at 14:23:35, Ohad Ben-Cohen wrote:
[...]
Which happens on CONFIG_ARCH_OMAP2 && !CONFIG_SOC_OMAP2420, due to
missing omap2_mboxes declaration.
[...]
 
-struct omap_mbox *omap2_mboxes[] = { &mbox_dsp_info, &mbox_iva_info, NULL };
+#ifdef CONFIG_ARCH_OMAP2
+struct omap_mbox *omap2_mboxes[] = {
+	&mbox_dsp_info,
+#ifdef CONFIG_SOC_OMAP2420
+	&mbox_iva_info,
+#endif
+	NULL
+};
 #endif
 
 #if defined(CONFIG_ARCH_OMAP4)
Instead of adding more #ifs can they be completely removed please?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help