[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jk-vzE0EwFQf2aLqhC8FzYYwNCmD-1mX5_C34YGET+Vg@mail.gmail.com>
Date: Thu, 5 Dec 2024 12:17:06 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc: linux-kernel@...r.kernel.org, "Rafael J. Wysocki" <rafael@...nel.org>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>, linux-pm@...r.kernel.org
Subject: Re: [PATCH 15/15] PM / Sleep: don't include 'pm_wakeup.h' directly
On Mon, Nov 18, 2024 at 8:30 AM Wolfram Sang
<wsa+renesas@...g-engineering.com> wrote:
>
> The header clearly states that it does not want to be included directly,
> only via 'device.h'. 'platform_device.h' works equally well. Remove the
> direct inclusion.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
> ---
> kernel/power/autosleep.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/power/autosleep.c b/kernel/power/autosleep.c
> index b29c8aca7486..865df641b97c 100644
> --- a/kernel/power/autosleep.c
> +++ b/kernel/power/autosleep.c
> @@ -9,7 +9,6 @@
>
> #include <linux/device.h>
> #include <linux/mutex.h>
> -#include <linux/pm_wakeup.h>
>
> #include "power.h"
>
> --
Applied as 6.14 material, thanks!
Powered by blists - more mailing lists