Message ID | 20240209015817.14627-12-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | mfd: tmio: simplify header and move to platform_data | expand |
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@sang-engineering.com> > --- > include/linux/mfd/tmio.h | 9 +-------- > 1 file changed, 1 insertion(+), 8 deletions(-) Acked-by: Lee Jones <lee@kernel.org> > 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 >
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 */
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@sang-engineering.com> --- include/linux/mfd/tmio.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)