mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
ANDROID: fix export made in "Revert "genirq: Restrict export of irq_to_desc()""
In commit2cb5bf9e38("Revert "genirq: Restrict export of irq_to_desc()"") the ability for the symbol to be exported was restored, but the _GPL marking was removed for some reason. As Android exports always need to be _GPL, restore the _GPL marking of irq_to_desc() to follow that rule, and to be synced with what is done upstream at the same time. Bug: 199823932 Fixes:2cb5bf9e38("Revert "genirq: Restrict export of irq_to_desc()"") Cc: Huang Yiwei <hyiwei@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ib4e8d060805c8f59f9737abb77fc98e221e17a43
This commit is contained in:
@@ -352,7 +352,7 @@ struct irq_desc *irq_to_desc(unsigned int irq)
|
||||
{
|
||||
return radix_tree_lookup(&irq_desc_tree, irq);
|
||||
}
|
||||
EXPORT_SYMBOL(irq_to_desc);
|
||||
EXPORT_SYMBOL_GPL(irq_to_desc);
|
||||
|
||||
static void delete_irq_desc(unsigned int irq)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user