* [PATCH v1 1/1] MIPS: ralink: Don't use "proxy" headers
@ 2024-03-11 9:45 Andy Shevchenko
2024-03-11 10:01 ` Sergio Paracuellos
2024-03-11 13:04 ` Thomas Bogendoerfer
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2024-03-11 9:45 UTC (permalink / raw
To: Andy Shevchenko, linux-mips, linux-kernel
Cc: John Crispin, Sergio Paracuellos, Thomas Bogendoerfer,
kernel test robot
Update header inclusions to follow IWYU (Include What You Use)
principle.
Fixes: 5804be061848 ("MIPS: ralink: Remove unused of_gpio.h")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403090727.nLhljNp6-lkp@intel.com/
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
arch/mips/ralink/timer.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c
index 8b485cbe854e..54094f6e033e 100644
--- a/arch/mips/ralink/timer.c
+++ b/arch/mips/ralink/timer.c
@@ -6,10 +6,16 @@
* Copyright (C) 2013 John Crispin <john@phrozen.org>
*/
-#include <linux/platform_device.h>
-#include <linux/interrupt.h>
-#include <linux/timer.h>
+#include <linux/bits.h>
#include <linux/clk.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/interrupt.h>
+#include <linux/io.h>
+#include <linux/mod_devicetable.h>
+#include <linux/platform_device.h>
+#include <linux/timer.h>
+#include <linux/types.h>
#include <asm/mach-ralink/ralink_regs.h>
--
2.43.0.rc1.1.gbec44491f096
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] MIPS: ralink: Don't use "proxy" headers
2024-03-11 9:45 [PATCH v1 1/1] MIPS: ralink: Don't use "proxy" headers Andy Shevchenko
@ 2024-03-11 10:01 ` Sergio Paracuellos
2024-03-11 13:04 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Sergio Paracuellos @ 2024-03-11 10:01 UTC (permalink / raw
To: Andy Shevchenko
Cc: linux-mips, linux-kernel, John Crispin, Thomas Bogendoerfer,
kernel test robot
On Mon, Mar 11, 2024 at 10:46 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> Fixes: 5804be061848 ("MIPS: ralink: Remove unused of_gpio.h")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202403090727.nLhljNp6-lkp@intel.com/
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> arch/mips/ralink/timer.c | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)
Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Thanks,
Sergio Paracuellos
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] MIPS: ralink: Don't use "proxy" headers
2024-03-11 9:45 [PATCH v1 1/1] MIPS: ralink: Don't use "proxy" headers Andy Shevchenko
2024-03-11 10:01 ` Sergio Paracuellos
@ 2024-03-11 13:04 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2024-03-11 13:04 UTC (permalink / raw
To: Andy Shevchenko
Cc: linux-mips, linux-kernel, John Crispin, Sergio Paracuellos,
kernel test robot
On Mon, Mar 11, 2024 at 11:45:58AM +0200, Andy Shevchenko wrote:
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> Fixes: 5804be061848 ("MIPS: ralink: Remove unused of_gpio.h")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202403090727.nLhljNp6-lkp@intel.com/
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> arch/mips/ralink/timer.c | 12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/arch/mips/ralink/timer.c b/arch/mips/ralink/timer.c
> index 8b485cbe854e..54094f6e033e 100644
> --- a/arch/mips/ralink/timer.c
> +++ b/arch/mips/ralink/timer.c
> @@ -6,10 +6,16 @@
> * Copyright (C) 2013 John Crispin <john@phrozen.org>
> */
>
> -#include <linux/platform_device.h>
> -#include <linux/interrupt.h>
> -#include <linux/timer.h>
> +#include <linux/bits.h>
> #include <linux/clk.h>
> +#include <linux/device.h>
> +#include <linux/err.h>
> +#include <linux/interrupt.h>
> +#include <linux/io.h>
> +#include <linux/mod_devicetable.h>
> +#include <linux/platform_device.h>
> +#include <linux/timer.h>
> +#include <linux/types.h>
>
> #include <asm/mach-ralink/ralink_regs.h>
>
> --
> 2.43.0.rc1.1.gbec44491f096
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-11 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 9:45 [PATCH v1 1/1] MIPS: ralink: Don't use "proxy" headers Andy Shevchenko
2024-03-11 10:01 ` Sergio Paracuellos
2024-03-11 13:04 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).