Re: [PATCH 12/15] platform/x86: quickstart: don't include 'pm_wakeup.h' directly
From: Ilpo Järvinen
Date: Mon Dec 02 2024 - 15:09:18 EST
On Mon, 18 Nov 2024, Wolfram Sang 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@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/platform/x86/quickstart.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/platform/x86/quickstart.c b/drivers/platform/x86/quickstart.c
> index 8d540a1c8602..c332c7cdaff5 100644
> --- a/drivers/platform/x86/quickstart.c
> +++ b/drivers/platform/x86/quickstart.c
> @@ -20,7 +20,6 @@
> #include <linux/module.h>
> #include <linux/mutex.h>
> #include <linux/platform_device.h>
> -#include <linux/pm_wakeup.h>
> #include <linux/printk.h>
> #include <linux/slab.h>
> #include <linux/sysfs.h>
Thanks for the patch. I've applied it to the review-ilpo-next branch in
the pdx86 repo.
--
i.