summaryrefslogtreecommitdiffstats
path: root/drivers/base/power/suspend.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-08-10 22:51:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:51:06 +0200
commitb4d1eb2ccecb76bce4c2125c5a3e77753fcfaeb0 (patch)
tree305103e5b12edfca76015222620dcd70fbcb757e /drivers/base/power/suspend.c
parentFix Firmware class name collision (diff)
downloadlinux-b4d1eb2ccecb76bce4c2125c5a3e77753fcfaeb0.tar.xz
linux-b4d1eb2ccecb76bce4c2125c5a3e77753fcfaeb0.zip
drivers/base/power/: make 2 functions static
suspend_device() and resume_device() can now become static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/power/suspend.c')
-rw-r--r--drivers/base/power/suspend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/suspend.c b/drivers/base/power/suspend.c
index 26df9b231737..204517afb15e 100644
--- a/drivers/base/power/suspend.c
+++ b/drivers/base/power/suspend.c
@@ -54,7 +54,7 @@ suspend_device_dbg(struct device *dev, pm_message_t state, char *info)
* @state: Power state device is entering.
*/
-int suspend_device(struct device * dev, pm_message_t state)
+static int suspend_device(struct device * dev, pm_message_t state)
{
int error = 0;