]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
PM: Make suspend_device() static
authorAdrian Bunk <bunk@kernel.org>
Sun, 3 Feb 2008 21:55:18 +0000 (22:55 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 21 Feb 2008 07:15:52 +0000 (02:15 -0500)
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>
drivers/base/power/main.c

index bdc03f7e8424ceda39d454413a76d637a9215418..a96ca86a7b4aff74ef6c3c11cdf8571965311870 100644 (file)
@@ -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;