提交 b4d1eb2c 编写于 作者: A Adrian Bunk 提交者: Greg Kroah-Hartman

drivers/base/power/: make 2 functions static

suspend_device() and resume_device() can now become static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册