[PATCH] drivers/base/: proper prototypes
commitf67d115fe48f494d4b7f4f2024217fe52578915f
authorAdrian Bunk <bunk@stusta.de>
Thu, 19 Jan 2006 16:30:17 +0000 (19 17:30 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Feb 2006 20:17:17 +0000 (6 12:17 -0800)
tree80c9ef160714e121b582a901d00bf792373780d3
parente485981e52b476c1b6a00873c2f8b75b3168718f
[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>
drivers/base/base.h
drivers/base/power/resume.c
drivers/base/power/shutdown.c
drivers/base/power/suspend.c
drivers/base/sys.c