Re: [PATCH 08/15] mmc: core: don't include 'pm_wakeup.h' directly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 18 Nov 2024 at 08:29, Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> 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>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/core/core.c | 1 -
>  drivers/mmc/core/host.c | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
> index d6c819dd68ed..c877dae8b4e2 100644
> --- a/drivers/mmc/core/core.c
> +++ b/drivers/mmc/core/core.c
> @@ -19,7 +19,6 @@
>  #include <linux/scatterlist.h>
>  #include <linux/log2.h>
>  #include <linux/pm_runtime.h>
> -#include <linux/pm_wakeup.h>
>  #include <linux/suspend.h>
>  #include <linux/fault-inject.h>
>  #include <linux/random.h>
> diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
> index 48bda70145ee..bdb22998357e 100644
> --- a/drivers/mmc/core/host.c
> +++ b/drivers/mmc/core/host.c
> @@ -14,7 +14,6 @@
>  #include <linux/idr.h>
>  #include <linux/of.h>
>  #include <linux/pagemap.h>
> -#include <linux/pm_wakeup.h>
>  #include <linux/export.h>
>  #include <linux/leds.h>
>  #include <linux/slab.h>
> --
> 2.39.2
>




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux