diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-03 22:55:18 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-21 08:15:52 +0100 |
commit | 19e20c913bae2dd458b9fc42afab0c53f16562d1 (patch) | |
tree | 3d81eb99f4a220727cafb44f1e2c1631d892e179 /drivers/base | |
parent | PCI ACPI: Fix comment describing acpi_pci_choose_state (diff) | |
download | linux-19e20c913bae2dd458b9fc42afab0c53f16562d1.tar.xz linux-19e20c913bae2dd458b9fc42afab0c53f16562d1.zip |
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); * @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; |