Skip to content

Commit d551ce1

Browse files
arndbJassi Brar
authored andcommitted
mailbox: zynqmp-ipi: drop irq_to_desc() call
irq_to_desc() is not exported to loadable modules, so this driver now fails to link in some configurations: ERROR: modpost: "irq_to_desc" [drivers/mailbox/zynqmp-ipi-mailbox.ko] undefined! I can't see a purpose for this call, since the return value is unused and probably left over from some code refactoring. Address the link failure by just removing the line. Fixes: 6ffb163 ("mailbox: zynqmp: handle SGI for shared IPI") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Tanmay Shah <tanmay.shah@amd.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
1 parent 1613e60 commit d551ce1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mailbox/zynqmp-ipi-mailbox.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,6 @@ static int xlnx_mbox_init_sgi(struct platform_device *pdev,
850850
return ret;
851851
}
852852

853-
irq_to_desc(pdata->virq_sgi);
854853
irq_set_status_flags(pdata->virq_sgi, IRQ_PER_CPU);
855854

856855
/* Setup function for the CPU hot-plug cases */

0 commit comments

Comments
 (0)