aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2017-08-17 20:53:30 -0400
committerThomas Gleixner <tglx@linutronix.de>2017-08-18 05:21:40 -0400
commit65efd9a49af8174b2283fd5b27e9edf30e4483d0 (patch)
tree1431d7ee0b4e30721a304b76a7a3c928e02bf919
parent44e72c7ebf294043cfe276f7328b8c0e6a3e50e9 (diff)
genirq: Export more irq_chip_*_parent() functions
Many of the family of functions including irq_chip_mask_parent(), irq_chip_unmask_parent() are exported, but not all. Add EXPORT_SYMBOL_GPL to irq_chip_enable_parent, irq_chip_disable_parent and irq_chip_set_affinity_parent, so they likewise are usable from modules. Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Alexandre Courbot <gnurou@gmail.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-gpio@vger.kernel.org Link: http://lkml.kernel.org/r/1503017616-3252-2-git-send-email-david.daney@cavium.com
-rw-r--r--kernel/irq/chip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index a3cc37c0c85e..6514f07acaad 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -1105,6 +1105,7 @@ void irq_chip_enable_parent(struct irq_data *data)
1105 else 1105 else
1106 data->chip->irq_unmask(data); 1106 data->chip->irq_unmask(data);
1107} 1107}
1108EXPORT_SYMBOL_GPL(irq_chip_enable_parent);
1108 1109
1109/** 1110/**
1110 * irq_chip_disable_parent - Disable the parent interrupt (defaults to mask if 1111 * irq_chip_disable_parent - Disable the parent interrupt (defaults to mask if
@@ -1119,6 +1120,7 @@ void irq_chip_disable_parent(struct irq_data *data)
1119 else 1120 else
1120 data->chip->irq_mask(data); 1121 data->chip->irq_mask(data);
1121} 1122}
1123EXPORT_SYMBOL_GPL(irq_chip_disable_parent);
1122 1124
1123/** 1125/**
1124 * irq_chip_ack_parent - Acknowledge the parent interrupt 1126 * irq_chip_ack_parent - Acknowledge the parent interrupt
@@ -1181,6 +1183,7 @@ int irq_chip_set_affinity_parent(struct irq_data *data,
1181 1183
1182 return -ENOSYS; 1184 return -ENOSYS;
1183} 1185}
1186EXPORT_SYMBOL_GPL(irq_chip_set_affinity_parent);
1184 1187
1185/** 1188/**
1186 * irq_chip_set_type_parent - Set IRQ type on the parent interrupt 1189 * irq_chip_set_type_parent - Set IRQ type on the parent interrupt