From: Boris BREZILLON Date: Mon, 2 Mar 2015 09:18:13 +0000 (+0100) Subject: PM / wakeup: export pm_system_wakeup symbol X-Git-Tag: v4.0-rc3~15^2~2^2~6 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=432ec92b299e4bcbb0d9a116789563d53b2798e1;hp=17f480342026e54000731acaa69bf32787ce46cb;p=karo-tx-linux.git 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 Reviewed-by: Alexandre Belloni Acked-by: Nicolas Ferre Acked-by: Mark Rutland Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c index c2744b30d5d9..aab7158d2afe 100644 --- a/drivers/base/power/wakeup.c +++ b/drivers/base/power/wakeup.c @@ -730,6 +730,7 @@ void pm_system_wakeup(void) pm_abort_suspend = true; freeze_wake(); } +EXPORT_SYMBOL_GPL(pm_system_wakeup); void pm_wakeup_clear(void) {