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: 378615449
Change-Id: I65c14afb1d3da2e43c58519f8b0233a875db2726
Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com>
(cherry picked from commit 413bd75728ea00056e1f061da7ad091d618b5806)
This commit is contained in:
Dezhi Huang
2024-05-28 19:41:51 +08:00
committed by xinpei jiang
parent 7160754546
commit cbc36a1928

View File

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