From: Kevin Hao <kexin....@windriver.com>

The pm_system_irq_wakeup() is called in drivers/mailbox/imx-mailbox.c.
If we don't export it, compiling imx-mailbox as a module would fail.

Fixes: 4f494c86d83f ("MLK-25649-4 mailbox: imx: Add support for identifying SCU 
wakeup source from sysfs")
Signed-off-by: Kevin Hao <kexin....@windriver.com>
---
 drivers/base/power/wakeup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c
index 7cc0c0cf8eaa..f9947bfff25c 100644
--- a/drivers/base/power/wakeup.c
+++ b/drivers/base/power/wakeup.c
@@ -951,6 +951,7 @@ void pm_system_irq_wakeup(unsigned int irq_number)
        if (irq_number)
                pm_system_wakeup();
 }
+EXPORT_SYMBOL_GPL(pm_system_irq_wakeup);
 
 unsigned int pm_wakeup_irq(void)
 {

-- 
2.45.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13918): 
https://lists.yoctoproject.org/g/linux-yocto/message/13918
Mute This Topic: https://lists.yoctoproject.org/mt/105978743/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to