ANDROID: Allow vendor modules perform more operationson.

Export pm_wakeup_irq for obtain the wakeup source when the system
wakes up,it used to handle different processing logic for different
 wakeup sources.

Bug: 343147334
Change-Id: I65c14afb1d3da2e43c58519f8b0233a875db2726
Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com>
This commit is contained in:
Dezhi Huang 2024-05-28 19:41:51 +08:00 committed by Treehugger Robot
parent 4bde1dfde5
commit 413bd75728

View File

@ -1003,6 +1003,7 @@ unsigned int pm_wakeup_irq(void)
{
return wakeup_irq[0];
}
EXPORT_SYMBOL_GPL(pm_wakeup_irq);
/**
* pm_get_wakeup_count - Read the number of registered wakeup events.