MA-17422-1 genirq: Export irq_chip_pm_get and irq_chip_pm_put

Add EXPORT_SYMBOL_GPL entries for irq_chip_pm_get() and
and irq_chip_pm_put() so that we can allow drivers
like the gpio-mxc driver to be loadable as a module.

Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
This commit is contained in:
zhang sanshan 2020-06-22 10:50:19 +08:00 committed by Jindong
parent b271f1feb0
commit 45483d0ced
1 changed files with 2 additions and 0 deletions

View File

@ -1545,6 +1545,7 @@ int irq_chip_pm_get(struct irq_data *data)
return 0;
}
EXPORT_SYMBOL_GPL(irq_chip_pm_get);
/**
* irq_chip_pm_put - Disable power for an IRQ chip
@ -1563,3 +1564,4 @@ int irq_chip_pm_put(struct irq_data *data)
return (retval < 0) ? retval : 0;
}
EXPORT_SYMBOL_GPL(irq_chip_pm_put);