[PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state()
From: Greg KH
Date: Wed Jan 04 2006 - 19:56:51 EST
[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@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
commit 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f
tree 59cfbf241906753770c6150ef76efd1816210b74
parent e80a5dea8e056d8f398be1900d61c581d379f02f
author Adrian Bunk <bunk@xxxxxxxxx> Mon, 12 Dec 2005 01:31:03 -0800
committer Greg Kroah-Hartman <gregkh@xxxxxxx> Wed, 04 Jan 2006 16:18:10 -0800
drivers/base/power/runtime.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c
index adbc314..4bafef8 100644
--- a/drivers/base/power/runtime.c
+++ b/drivers/base/power/runtime.c
@@ -64,6 +64,7 @@ int dpm_runtime_suspend(struct device *
}
+#if 0
/**
* dpm_set_power_state - Update power_state field.
* @dev: Device.
@@ -80,3 +81,4 @@ void dpm_set_power_state(struct device *
dev->power.power_state = state;
up(&dpm_sem);
}
+#endif /* 0 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/