|
@@ -659,7 +659,7 @@ void pm_wakeup_event(struct device *dev, unsigned int msec)
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(pm_wakeup_event);
|
|
|
|
|
|
-static void print_active_wakeup_sources(void)
|
|
|
+void pm_print_active_wakeup_sources(void)
|
|
|
{
|
|
|
struct wakeup_source *ws;
|
|
|
int active = 0;
|
|
@@ -683,6 +683,7 @@ static void print_active_wakeup_sources(void)
|
|
|
last_activity_ws->name);
|
|
|
rcu_read_unlock();
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(pm_print_active_wakeup_sources);
|
|
|
|
|
|
/**
|
|
|
* pm_wakeup_pending - Check if power transition in progress should be aborted.
|
|
@@ -709,7 +710,7 @@ bool pm_wakeup_pending(void)
|
|
|
|
|
|
if (ret) {
|
|
|
pr_info("PM: Wakeup pending, aborting suspend\n");
|
|
|
- print_active_wakeup_sources();
|
|
|
+ pm_print_active_wakeup_sources();
|
|
|
}
|
|
|
|
|
|
return ret;
|