PM / wakeup: export pm_system_wakeup symbol
authorBoris BREZILLON <[email protected]>
Mon, 2 Mar 2015 09:18:13 +0000 (10:18 +0100)
committerRafael J. Wysocki <[email protected]>
Wed, 4 Mar 2015 21:10:19 +0000 (22:10 +0100)
commit432ec92b299e4bcbb0d9a116789563d53b2798e1
tree77a5df76535b8a7a996c5b6eaa877c2a7272c481
parent17f480342026e54000731acaa69bf32787ce46cb
PM / wakeup: export pm_system_wakeup symbol

Export pm_system_wakeup function to allow irq handlers to deal with system
wakeup.

This is needed for shared IRQ lines where one of the handler is registered
with IRQF_NO_SUSPEND, while the other ones want to configure it as a wakeup
source.

In this specific case, irq core does not handle the wakeup process and
leave the decision to each irq handler.

Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alexandre Belloni <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/base/power/wakeup.c