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>
This commit is contained in:
Adrian Bunk 2007-08-10 13:51:09 -07:00 коммит произвёл Greg Kroah-Hartman
Родитель 109f0e93b6
Коммит b4d1eb2cce
3 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -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;