public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] omap2/3/4: mailbox: remove compiler warning
@ 2010-02-18 21:07 Anna, Suman
  2010-02-20 18:46 ` Shilimkar, Santosh
  0 siblings, 1 reply; 5+ messages in thread
From: Anna, Suman @ 2010-02-18 21:07 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org
  Cc: Hiroshi.DOYU@nokia.com, Clark, Rob, Kanigeri, Hari,
	C.A, Subramaniam

>From 78d00b562548e1d95ad12a4d8121be67950daf68 Mon Sep 17 00:00:00 2001
From: Suman Anna <s-anna@ti.com>
Date: Mon, 25 Jan 2010 18:27:21 -0600
Subject: [PATCH 1/5] omap2/3/4: mailbox: remove compiler warning

Remove a compiler warning in device-specific
mailbox module.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/mach-omap2/mailbox.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c
index 2c9fd1c..c970cf6 100644
--- a/arch/arm/mach-omap2/mailbox.c
+++ b/arch/arm/mach-omap2/mailbox.c
@@ -419,8 +419,10 @@ static int __devinit omap2_mbox_probe(struct platform_device *pdev)
 #endif
 	return 0;
 
+#if defined(CONFIG_ARCH_OMAP2420) /* IVA */
 err_iva1:
 	omap_mbox_unregister(&mbox_dsp_info);
+#endif
 
 err_dsp:
 	iounmap(mbox_base);
-- 
1.6.6.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-22 23:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 21:07 [PATCH 1/5] omap2/3/4: mailbox: remove compiler warning Anna, Suman
2010-02-20 18:46 ` Shilimkar, Santosh
     [not found]   ` <2C1563023E232C49B9F505633D57C2DA2640E025F9@dlee04.ent.ti.com>
2010-02-22 21:37     ` Tony Lindgren
2010-02-22 21:44       ` Anna, Suman
2010-02-22 23:25         ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox