mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
omap: mailbox: 2420 should be detected at run-time
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
This commit is contained in:
parent
07d65d8b91
commit
7b2729a15b
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user