diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/mailbox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c index edcfec6ff67b..f67cb2ce35b0 100644 --- a/arch/arm/mach-omap2/mailbox.c +++ b/arch/arm/mach-omap2/mailbox.c | |||
@@ -455,7 +455,8 @@ err_dsp: | |||
455 | static int __devexit omap2_mbox_remove(struct platform_device *pdev) | 455 | static int __devexit omap2_mbox_remove(struct platform_device *pdev) |
456 | { | 456 | { |
457 | #if defined(CONFIG_ARCH_OMAP2420) | 457 | #if defined(CONFIG_ARCH_OMAP2420) |
458 | omap_mbox_unregister(&mbox_iva_info); | 458 | if (cpu_is_omap2420()) |
459 | omap_mbox_unregister(&mbox_iva_info); | ||
459 | #endif | 460 | #endif |
460 | 461 | ||
461 | if (cpu_is_omap44xx()) { | 462 | if (cpu_is_omap44xx()) { |