projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d65d8
)
omap: mailbox: 2420 should be detected at run-time
author
Felipe Contreras
<felipe.contreras@gmail.com>
Fri, 11 Jun 2010 15:51:39 +0000
(15:51 +0000)
committer
Hiroshi DOYU
<Hiroshi.DOYU@nokia.com>
Wed, 4 Aug 2010 12:50:18 +0000
(15:50 +0300)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
arch/arm/mach-omap2/mailbox.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/mailbox.c
b/arch/arm/mach-omap2/mailbox.c
index edcfec6ff67b4b69572c0c239552fb6438c35a0c..f67cb2ce35b07f7e6cd8a0813941883b917f8c91 100644
(file)
--- a/
arch/arm/mach-omap2/mailbox.c
+++ b/
arch/arm/mach-omap2/mailbox.c
@@
-455,7
+455,8
@@
err_dsp:
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()) {