Commit b4d1eb2c authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman

drivers/base/power/: make 2 functions static

suspend_device() and resume_device() can now become static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 109f0e93
......@@ -55,12 +55,6 @@ extern void dpm_sysfs_remove(struct device *);
extern void dpm_resume(void);
extern void dpm_power_up(void);
extern int resume_device(struct device *);
/*
* suspend.c
*/
extern int suspend_device(struct device *, pm_message_t);
#else /* CONFIG_PM_SLEEP */
......
......@@ -20,7 +20,7 @@
*
*/
int resume_device(struct device * dev)
static int resume_device(struct device * dev)
{
int error = 0;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment