From: Adrian Bunk Date: Sun, 3 Feb 2008 21:55:18 +0000 (+0100) Subject: PM: Make suspend_device() static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=19e20c913bae2dd458b9fc42afab0c53f16562d1;p=openwrt%2Fstaging%2Fblogic.git 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 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;