Skip to content

Commit 65efd9a

Browse files
daviddaneyKAGA-KOKO
authored andcommitted
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
1 parent 44e72c7 commit 65efd9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/irq/chip.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,7 @@ void irq_chip_enable_parent(struct irq_data *data)
11051105
else
11061106
data->chip->irq_unmask(data);
11071107
}
1108+
EXPORT_SYMBOL_GPL(irq_chip_enable_parent);
11081109

11091110
/**
11101111
* 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)
11191120
else
11201121
data->chip->irq_mask(data);
11211122
}
1123+
EXPORT_SYMBOL_GPL(irq_chip_disable_parent);
11221124

11231125
/**
11241126
* irq_chip_ack_parent - Acknowledge the parent interrupt
@@ -1181,6 +1183,7 @@ int irq_chip_set_affinity_parent(struct irq_data *data,
11811183

11821184
return -ENOSYS;
11831185
}
1186+
EXPORT_SYMBOL_GPL(irq_chip_set_affinity_parent);
11841187

11851188
/**
11861189
* irq_chip_set_type_parent - Set IRQ type on the parent interrupt

0 commit comments

Comments
 (0)