label err_iva1 is defined to unregister the mbox device
for omap2420 which is contained in mbox_iva_info struct

mbox_dsp_info is not being used by the omap2420

Signed-off-by: Leed Aguilar <[email protected]>
---
 arch/arm/mach-omap2/mailbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Index: omap/arch/arm/mach-omap2/mailbox.c
===================================================================
--- omap.orig/arch/arm/mach-omap2/mailbox.c     2010-02-22 17:41:24.000000000 
-0600
+++ omap/arch/arm/mach-omap2/mailbox.c  2010-02-22 17:51:31.000000000 -0600
@@ -420,7 +420,7 @@
        return 0;
 
 err_iva1:
-       omap_mbox_unregister(&mbox_dsp_info);
+       omap_mbox_unregister(&mbox_iva_info);
 
 err_dsp:
        iounmap(mbox_base);
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to