summaryrefslogtreecommitdiffstats
path: root/drivers/base/power
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-12 01:31:03 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 16:18:10 -0800
commit1f1bf132d81ed723bc5fefbcec7d0779ce683a4f (patch)
tree59cfbf241906753770c6150ef76efd1816210b74 /drivers/base/power
parente80a5dea8e056d8f398be1900d61c581d379f02f (diff)
downloadop-kernel-dev-1f1bf132d81ed723bc5fefbcec7d0779ce683a4f.zip
op-kernel-dev-1f1bf132d81ed723bc5fefbcec7d0779ce683a4f.tar.gz
[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()
This patch #if 0's an unused global function. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/power')
-rw-r--r--drivers/base/power/runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c
index adbc3148..4bafef8 100644
--- a/drivers/base/power/runtime.c
+++ b/drivers/base/power/runtime.c
@@ -64,6 +64,7 @@ int dpm_runtime_suspend(struct device * dev, pm_message_t state)
}
+#if 0
/**
* dpm_set_power_state - Update power_state field.
* @dev: Device.
@@ -80,3 +81,4 @@ void dpm_set_power_state(struct device * dev, pm_message_t state)
dev->power.power_state = state;
up(&dpm_sem);
}
+#endif /* 0 */
OpenPOWER on IntegriCloud