* [2.6 patch] make suspend_device() static
@ 2008-01-28 22:10 Adrian Bunk
2008-01-28 22:21 ` Rafael J. Wysocki
2008-01-28 22:21 ` Rafael J. Wysocki
0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-01-28 22:10 UTC (permalink / raw)
To: Rafael J. Wysocki, pavel; +Cc: linux-pm, linux-kernel
suspend_device() can become static.
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;
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [2.6 patch] make suspend_device() static
2008-01-28 22:10 [2.6 patch] make suspend_device() static Adrian Bunk
@ 2008-01-28 22:21 ` Rafael J. Wysocki
2008-01-28 22:21 ` Rafael J. Wysocki
1 sibling, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 22:21 UTC (permalink / raw)
To: Adrian Bunk; +Cc: pavel, linux-pm, linux-kernel
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;
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [2.6 patch] make suspend_device() static
2008-01-28 22:10 [2.6 patch] make suspend_device() static Adrian Bunk
2008-01-28 22:21 ` Rafael J. Wysocki
@ 2008-01-28 22:21 ` Rafael J. Wysocki
1 sibling, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2008-01-28 22:21 UTC (permalink / raw)
To: Adrian Bunk; +Cc: pavel, linux-pm, linux-kernel
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;
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [2.6 patch] make suspend_device() static
@ 2008-01-28 22:10 Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-01-28 22:10 UTC (permalink / raw)
To: Rafael J. Wysocki, pavel; +Cc: linux-pm, linux-kernel
suspend_device() can become static.
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;
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-28 22:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 22:10 [2.6 patch] make suspend_device() static Adrian Bunk
2008-01-28 22:21 ` Rafael J. Wysocki
2008-01-28 22:21 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2008-01-28 22:10 Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.