diff options
| author | James Hogan <jhogan@kernel.org> | 2018-02-21 10:31:32 -0500 |
|---|---|---|
| committer | James Hogan <jhogan@kernel.org> | 2018-02-23 09:30:20 -0500 |
| commit | df46bb1909d92eedccd4216c88e43f75cb0b2901 (patch) | |
| tree | fa4d6dd3db384648abf7a9662039f078389cbb89 /include/linux/irqchip | |
| parent | 5f171577b4f35b44795a73bde8cf2c49b4073925 (diff) | |
irqchip: Remove metag irqchip drivers
Now that arch/metag/ has been removed, remove the two metag irqchip
drivers. They are of no value without the architecture code.
- irq-metag: Meta internal (HWSTATMETA) interrupt code.
- irq-metag-ext: Meta External interrupt code.
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: linux-metag@vger.kernel.org
Diffstat (limited to 'include/linux/irqchip')
| -rw-r--r-- | include/linux/irqchip/metag-ext.h | 34 | ||||
| -rw-r--r-- | include/linux/irqchip/metag.h | 25 |
2 files changed, 0 insertions, 59 deletions
diff --git a/include/linux/irqchip/metag-ext.h b/include/linux/irqchip/metag-ext.h deleted file mode 100644 index d120496370b9..000000000000 --- a/include/linux/irqchip/metag-ext.h +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | /* | ||
| 3 | * Copyright (C) 2012 Imagination Technologies | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef _LINUX_IRQCHIP_METAG_EXT_H_ | ||
| 7 | #define _LINUX_IRQCHIP_METAG_EXT_H_ | ||
| 8 | |||
| 9 | struct irq_data; | ||
| 10 | struct platform_device; | ||
| 11 | |||
| 12 | /* called from core irq code at init */ | ||
| 13 | int init_external_IRQ(void); | ||
| 14 | |||
| 15 | /* | ||
| 16 | * called from SoC init_irq() callback to dynamically indicate the lack of | ||
| 17 | * HWMASKEXT registers. | ||
| 18 | */ | ||
| 19 | void meta_intc_no_mask(void); | ||
| 20 | |||
| 21 | /* | ||
| 22 | * These allow SoCs to specialise the interrupt controller from their init_irq | ||
| 23 | * callbacks. | ||
| 24 | */ | ||
| 25 | |||
| 26 | extern struct irq_chip meta_intc_edge_chip; | ||
| 27 | extern struct irq_chip meta_intc_level_chip; | ||
| 28 | |||
| 29 | /* this should be called in the mask callback */ | ||
| 30 | void meta_intc_mask_irq_simple(struct irq_data *data); | ||
| 31 | /* this should be called in the unmask callback */ | ||
| 32 | void meta_intc_unmask_irq_simple(struct irq_data *data); | ||
| 33 | |||
| 34 | #endif /* _LINUX_IRQCHIP_METAG_EXT_H_ */ | ||
diff --git a/include/linux/irqchip/metag.h b/include/linux/irqchip/metag.h deleted file mode 100644 index 0adcf449e4e4..000000000000 --- a/include/linux/irqchip/metag.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 2 | /* | ||
| 3 | * Copyright (C) 2011 Imagination Technologies | ||
| 4 | */ | ||
| 5 | |||
| 6 | #ifndef _LINUX_IRQCHIP_METAG_H_ | ||
| 7 | #define _LINUX_IRQCHIP_METAG_H_ | ||
| 8 | |||
| 9 | #include <linux/errno.h> | ||
| 10 | |||
| 11 | #ifdef CONFIG_METAG_PERFCOUNTER_IRQS | ||
| 12 | extern int init_internal_IRQ(void); | ||
| 13 | extern int internal_irq_map(unsigned int hw); | ||
| 14 | #else | ||
| 15 | static inline int init_internal_IRQ(void) | ||
| 16 | { | ||
| 17 | return 0; | ||
| 18 | } | ||
| 19 | static inline int internal_irq_map(unsigned int hw) | ||
| 20 | { | ||
| 21 | return -EINVAL; | ||
| 22 | } | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #endif /* _LINUX_IRQCHIP_METAG_H_ */ | ||
