[PATCH] drivers/base/: proper prototypes
This patch contains the following changes: - move prototypes to base.h - sys.c should #include "base.h" for getting the prototype of it's global function system_bus_init() Note that hidden in this patch there's a bugfix: Caller and callee disagreed regarding the return type of sysdev_shutdown(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e485981e52
commit
f67d115fe4
@@ -9,10 +9,9 @@
|
||||
*/
|
||||
|
||||
#include <linux/device.h>
|
||||
#include "../base.h"
|
||||
#include "power.h"
|
||||
|
||||
extern int sysdev_suspend(pm_message_t state);
|
||||
|
||||
/*
|
||||
* The entries in the dpm_active list are in a depth first order, simply
|
||||
* because children are guaranteed to be discovered after parents, and
|
||||
|
Reference in New Issue
Block a user