|
@@ -455,7 +455,8 @@ err_dsp:
|
|
static int __devexit omap2_mbox_remove(struct platform_device *pdev)
|
|
static int __devexit omap2_mbox_remove(struct platform_device *pdev)
|
|
{
|
|
{
|
|
#if defined(CONFIG_ARCH_OMAP2420)
|
|
#if defined(CONFIG_ARCH_OMAP2420)
|
|
- omap_mbox_unregister(&mbox_iva_info);
|
|
|
|
|
|
+ if (cpu_is_omap2420())
|
|
|
|
+ omap_mbox_unregister(&mbox_iva_info);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
if (cpu_is_omap44xx()) {
|
|
if (cpu_is_omap44xx()) {
|