mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
sh: Switch to irq_find_mapping()
irq_linear_revmap() is deprecated, so remove all its uses and supersede them by an identical call to irq_find_mapping(). [ tglx: Fix up subject prefix ] Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250319092951.37667-43-jirislaby@kernel.org
This commit is contained in:
parent
8035d9f266
commit
f569ac9cab
|
|
@ -71,7 +71,7 @@ static void __init se7343_gc_init(void)
|
|||
struct irq_chip_type *ct;
|
||||
unsigned int irq_base;
|
||||
|
||||
irq_base = irq_linear_revmap(se7343_irq_domain, 0);
|
||||
irq_base = irq_find_mapping(se7343_irq_domain, 0);
|
||||
|
||||
gc = irq_alloc_generic_chip(DRV_NAME, 1, irq_base, se7343_irq_regs,
|
||||
handle_level_irq);
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ static void __init se7722_gc_init(void)
|
|||
struct irq_chip_type *ct;
|
||||
unsigned int irq_base;
|
||||
|
||||
irq_base = irq_linear_revmap(se7722_irq_domain, 0);
|
||||
irq_base = irq_find_mapping(se7722_irq_domain, 0);
|
||||
|
||||
gc = irq_alloc_generic_chip(DRV_NAME, 1, irq_base, se7722_irq_regs,
|
||||
handle_level_irq);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user