From: Adrian Bunk Date: Sun, 3 Feb 2008 21:55:18 +0000 (+0100) Subject: PM: Make suspend_device() static X-Git-Tag: v2.6.25-rc3~95^2^5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e20c913bae2dd458b9fc42afab0c53f16562d1;p=linux-2.6 PM: Make suspend_device() static suspend_device() can become static. Signed-off-by: Adrian Bunk Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Len Brown --- diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index bdc03f7e84..a96ca86a7b 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;