lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [2.6 patch] make suspend_device() static
Date
On Monday, 28 of January 2008, Adrian Bunk wrote:
> suspend_device() can become static.

That's correct. I'll push the patch to Len.

> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> 344fcfcea0df8cbaa83e10d7e66b826ead67290b
> diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
> index 200ed5f..cfcc54f 100644
> --- a/drivers/base/power/main.c
> +++ b/drivers/base/power/main.c
> @@ -414,7 +414,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;
>
>


\
 
 \ /
  Last update: 2008-01-28 23:27    [W:0.083 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site