diff options
Diffstat (limited to 'drivers/base/power/main.c')
-rw-r--r-- | drivers/base/power/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index b67d9aef9fe4..44973196d3fd 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -540,7 +540,7 @@ static void async_resume_noirq(void *data, async_cookie_t cookie) | |||
540 | * Call the "noirq" resume handlers for all devices in dpm_noirq_list and | 540 | * Call the "noirq" resume handlers for all devices in dpm_noirq_list and |
541 | * enable device drivers to receive interrupts. | 541 | * enable device drivers to receive interrupts. |
542 | */ | 542 | */ |
543 | static void dpm_resume_noirq(pm_message_t state) | 543 | void dpm_resume_noirq(pm_message_t state) |
544 | { | 544 | { |
545 | struct device *dev; | 545 | struct device *dev; |
546 | ktime_t starttime = ktime_get(); | 546 | ktime_t starttime = ktime_get(); |
@@ -662,7 +662,7 @@ static void async_resume_early(void *data, async_cookie_t cookie) | |||
662 | * dpm_resume_early - Execute "early resume" callbacks for all devices. | 662 | * dpm_resume_early - Execute "early resume" callbacks for all devices. |
663 | * @state: PM transition of the system being carried out. | 663 | * @state: PM transition of the system being carried out. |
664 | */ | 664 | */ |
665 | static void dpm_resume_early(pm_message_t state) | 665 | void dpm_resume_early(pm_message_t state) |
666 | { | 666 | { |
667 | struct device *dev; | 667 | struct device *dev; |
668 | ktime_t starttime = ktime_get(); | 668 | ktime_t starttime = ktime_get(); |
@@ -1093,7 +1093,7 @@ static int device_suspend_noirq(struct device *dev) | |||
1093 | * Prevent device drivers from receiving interrupts and call the "noirq" suspend | 1093 | * Prevent device drivers from receiving interrupts and call the "noirq" suspend |
1094 | * handlers for all non-sysdev devices. | 1094 | * handlers for all non-sysdev devices. |
1095 | */ | 1095 | */ |
1096 | static int dpm_suspend_noirq(pm_message_t state) | 1096 | int dpm_suspend_noirq(pm_message_t state) |
1097 | { | 1097 | { |
1098 | ktime_t starttime = ktime_get(); | 1098 | ktime_t starttime = ktime_get(); |
1099 | int error = 0; | 1099 | int error = 0; |
@@ -1232,7 +1232,7 @@ static int device_suspend_late(struct device *dev) | |||
1232 | * dpm_suspend_late - Execute "late suspend" callbacks for all devices. | 1232 | * dpm_suspend_late - Execute "late suspend" callbacks for all devices. |
1233 | * @state: PM transition of the system being carried out. | 1233 | * @state: PM transition of the system being carried out. |
1234 | */ | 1234 | */ |
1235 | static int dpm_suspend_late(pm_message_t state) | 1235 | int dpm_suspend_late(pm_message_t state) |
1236 | { | 1236 | { |
1237 | ktime_t starttime = ktime_get(); | 1237 | ktime_t starttime = ktime_get(); |
1238 | int error = 0; | 1238 | int error = 0; |