diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-03 16:55:18 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-21 02:15:52 -0500 |
commit | 19e20c913bae2dd458b9fc42afab0c53f16562d1 (patch) | |
tree | 3d81eb99f4a220727cafb44f1e2c1631d892e179 /drivers/base | |
parent | c6868ea00bdebe5762fa59e54b74b4cd4e3b4e6e (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')
-rw-r--r-- | drivers/base/power/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index bdc03f7e8424..a96ca86a7b4a 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -415,7 +415,7 @@ EXPORT_SYMBOL_GPL(device_power_down); | |||
415 | * @dev: Device. | 415 | * @dev: Device. |
416 | * @state: Power state device is entering. | 416 | * @state: Power state device is entering. |
417 | */ | 417 | */ |
418 | int suspend_device(struct device *dev, pm_message_t state) | 418 | static int suspend_device(struct device *dev, pm_message_t state) |
419 | { | 419 | { |
420 | int error = 0; | 420 | int error = 0; |
421 | 421 | ||