diff options
Diffstat (limited to 'kernel/irq/irqdomain.c')
-rw-r--r-- | kernel/irq/irqdomain.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 54a4d5223238..1ed8dff17eb9 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c | |||
@@ -16,12 +16,6 @@ | |||
16 | #include <linux/smp.h> | 16 | #include <linux/smp.h> |
17 | #include <linux/fs.h> | 17 | #include <linux/fs.h> |
18 | 18 | ||
19 | #define IRQ_DOMAIN_MAP_LEGACY 0 /* driver allocated fixed range of irqs. | ||
20 | * ie. legacy 8259, gets irqs 1..15 */ | ||
21 | #define IRQ_DOMAIN_MAP_NOMAP 1 /* no fast reverse mapping */ | ||
22 | #define IRQ_DOMAIN_MAP_LINEAR 2 /* linear map of interrupts */ | ||
23 | #define IRQ_DOMAIN_MAP_TREE 3 /* radix tree */ | ||
24 | |||
25 | static LIST_HEAD(irq_domain_list); | 19 | static LIST_HEAD(irq_domain_list); |
26 | static DEFINE_MUTEX(irq_domain_mutex); | 20 | static DEFINE_MUTEX(irq_domain_mutex); |
27 | 21 | ||
@@ -698,7 +692,7 @@ unsigned int irq_create_of_mapping(struct device_node *controller, | |||
698 | 692 | ||
699 | /* Set type if specified and different than the current one */ | 693 | /* Set type if specified and different than the current one */ |
700 | if (type != IRQ_TYPE_NONE && | 694 | if (type != IRQ_TYPE_NONE && |
701 | type != (irqd_get_trigger_type(irq_get_irq_data(virq)))) | 695 | type != irq_get_trigger_type(virq)) |
702 | irq_set_irq_type(virq, type); | 696 | irq_set_irq_type(virq, type); |
703 | return virq; | 697 | return virq; |
704 | } | 698 | } |