summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-xtensa-pic.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-08-14 03:21:08 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2018-08-20 21:28:05 +0200
commit8b5163eb988067093064ecb10265da27fd000cad (patch)
treef1d0d64d9d5612df0a00511f6595e1a70061eaf0 /drivers/irqchip/irq-xtensa-pic.c
parentxtensa: drop unneeded platform/hardware.h headers (diff)
downloadlinux-8b5163eb988067093064ecb10265da27fd000cad.tar.xz
linux-8b5163eb988067093064ecb10265da27fd000cad.zip
xtensa: drop variant IRQ support
If an xtensa core provides an additional IRQ controller it should be treated as a separate piece of hardware and be driven by an irqchip driver. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'drivers/irqchip/irq-xtensa-pic.c')
-rw-r--r--drivers/irqchip/irq-xtensa-pic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-xtensa-pic.c b/drivers/irqchip/irq-xtensa-pic.c
index f728755fa292..000cb5462bcf 100644
--- a/drivers/irqchip/irq-xtensa-pic.c
+++ b/drivers/irqchip/irq-xtensa-pic.c
@@ -55,14 +55,12 @@ static void xtensa_irq_unmask(struct irq_data *d)
static void xtensa_irq_enable(struct irq_data *d)
{
- variant_irq_enable(d->hwirq);
xtensa_irq_unmask(d);
}
static void xtensa_irq_disable(struct irq_data *d)
{
xtensa_irq_mask(d);
- variant_irq_disable(d->hwirq);
}
static void xtensa_irq_ack(struct irq_data *d)