diff mbox series

[v1,1/1] MIPS: ralink: Don't use "proxy" headers

Message ID 20240311094559.547083-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Headers show
Series [v1,1/1] MIPS: ralink: Don't use "proxy" headers | expand

Commit Message

Andy Shevchenko March 11, 2024, 9:45 a.m. UTC
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(-)

Comments

Sergio Paracuellos March 11, 2024, 10:01 a.m. UTC | #1
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
Thomas Bogendoerfer March 11, 2024, 1:04 p.m. UTC | #2
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.
diff mbox series

Patch

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>