summaryrefslogtreecommitdiffstats
path: root/drivers/base/syscore.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-04-23 22:35:16 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-23 22:35:16 -0700
commit686c4cbb10fc0e75b29b097290b4f7fc3f010b9e (patch)
tree3361f14eee716d5512a0c423ec89631a5b976ef4 /drivers/base/syscore.c
parentb07ad9967f40b164af77205027352ba53729cf5a (diff)
parent19234c0819da0e043a02710488dfd9b242b42eba (diff)
Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6
* 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6: PM: Add missing syscore_suspend() and syscore_resume() calls PM: Fix error code paths executed after failing syscore_suspend()
Diffstat (limited to 'drivers/base/syscore.c')
-rw-r--r--drivers/base/syscore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/syscore.c b/drivers/base/syscore.c
index 90af2943f9e..c126db3cb7d 100644
--- a/drivers/base/syscore.c
+++ b/drivers/base/syscore.c
@@ -73,6 +73,7 @@ int syscore_suspend(void)
return ret;
}
+EXPORT_SYMBOL_GPL(syscore_suspend);
/**
* syscore_resume - Execute all the registered system core resume callbacks.
@@ -95,6 +96,7 @@ void syscore_resume(void)
"Interrupts enabled after %pF\n", ops->resume);
}
}
+EXPORT_SYMBOL_GPL(syscore_resume);
#endif /* CONFIG_PM_SLEEP */
/**