Skip to content
Commit d551ce15 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jassi Brar
Browse files

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: 6ffb1635 ("mailbox: zynqmp: handle SGI for shared IPI")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Tested-by: default avatarTanmay Shah <tanmay.shah@amd.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent 1613e604
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment