Commit 7b2729a1 authored by Felipe Contreras's avatar Felipe Contreras Committed by Hiroshi DOYU

omap: mailbox: 2420 should be detected at run-time

Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: default avatarHiroshi DOYU <Hiroshi.DOYU@nokia.com>
parent 07d65d8b
......@@ -455,7 +455,8 @@ static int __devinit omap2_mbox_probe(struct platform_device *pdev)
static int __devexit omap2_mbox_remove(struct platform_device *pdev)
{
#if defined(CONFIG_ARCH_OMAP2420)
omap_mbox_unregister(&mbox_iva_info);
if (cpu_is_omap2420())
omap_mbox_unregister(&mbox_iva_info);
#endif
if (cpu_is_omap44xx()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment