Re: [PATCH 4/6] mfd: tmio: update include files

From: Lee Jones
Date: Fri Feb 09 2024 - 02:55:36 EST


On Fri, 09 Feb 2024, Wolfram Sang wrote:

> Remove meanwhile unneeded includes, only add types.h for dma_addr_t.
> Also, remove an obsolete forward declaration while here.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> include/linux/mfd/tmio.h | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)

Acked-by: Lee Jones <lee@xxxxxxxxxx>

> diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
> index 4223315d2b2a..f71d4e507dcb 100644
> --- a/include/linux/mfd/tmio.h
> +++ b/include/linux/mfd/tmio.h
> @@ -2,13 +2,8 @@
> #ifndef MFD_TMIO_H
> #define MFD_TMIO_H
>
> -#include <linux/device.h>
> -#include <linux/fb.h>
> -#include <linux/io.h>
> -#include <linux/jiffies.h>
> -#include <linux/mmc/card.h>
> #include <linux/platform_device.h>
> -#include <linux/pm_runtime.h>
> +#include <linux/types.h>
>
> /* tmio MMC platform flags */
> /*
> @@ -59,8 +54,6 @@
> /* Some controllers have a CBSY bit */
> #define TMIO_MMC_HAVE_CBSY BIT(11)
>
> -struct dma_chan;
> -
> /*
> * data for the MMC controller
> */
> --
> 2.43.0
>

--
Lee Jones [李琼斯]