summaryrefslogtreecommitdiffstats
path: root/drivers/base/power
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-03 22:55:18 +0100
committerLen Brown <len.brown@intel.com>2008-02-21 02:15:52 -0500
commit19e20c913bae2dd458b9fc42afab0c53f16562d1 (patch)
tree3d81eb99f4a220727cafb44f1e2c1631d892e179 /drivers/base/power
parentc6868ea00bdebe5762fa59e54b74b4cd4e3b4e6e (diff)
PM: Make suspend_device() static
suspend_device() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/base/power')
-rw-r--r--drivers/base/power/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index bdc03f7e842..a96ca86a7b4 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -415,7 +415,7 @@ EXPORT_SYMBOL_GPL(device_power_down);
* @dev: Device.
* @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;