Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -55,12 +55,6 @@ extern void dpm_sysfs_remove(struct device *);


extern void dpm_resume(void);
extern void dpm_resume(void);
extern void dpm_power_up(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 */
#else /* CONFIG_PM_SLEEP */


+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@
 *
 *
 */
 */


int resume_device(struct device * dev)
static int resume_device(struct device * dev)
{
{
	int error = 0;
	int error = 0;


+1 −1
Original line number Original line Diff line number Diff line
@@ -54,7 +54,7 @@ suspend_device_dbg(struct device *dev, pm_message_t state, char *info)
 *	@state:	Power state device is entering.
 *	@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;
	int error = 0;