diff options
author | Alex Elder <elder@linaro.org> | 2023-01-04 11:52:28 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-05 22:03:13 -0800 |
commit | e5709b7c1ede61e6fc7fe70391b1cbe44323861a (patch) | |
tree | 0f3dad6a48de1cfb044aecf5574d1564881f713c /drivers/mfd/ocelot.h | |
parent | afd50da912865732c28afebd3ff075558694a55c (diff) |
net: ipa: introduce a common microcontroller interrupt handler
The prototype for an IPA interrupt handler supplies the IPA
interrupt ID, so it's possible to use a single function to handle
any type of microcontroller interrupt.
Introduce ipa_uc_interrupt_handler(), which calls the event or the
response handler depending on the IRQ ID provided. Register the new
function as the handler for both microcontroller IPA interrupt types.
The called functions don't use their "irq_id" arguments, so remove
them.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/mfd/ocelot.h')
0 files changed, 0 insertions, 0 deletions