MIPS: ralink: Don't use "proxy" headers
Subsystems (2)
PATCH 1/1 MIPS: ralink: Don't use "proxy" headers
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 <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- arch/mips/ralink/timer.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
arch/mips/ralink/timer.c +9 -3
@@ -6,10 +6,16 @@* Copyright (C) 2013 John Crispin <[email protected]> */ -#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>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
Quoted 11 lines · Andy Shevchenko
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 <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- arch/mips/ralink/timer.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Thanks,
Sergio Paracuellos
Quoted 37 lines · Andy Shevchenko
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 <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- arch/mips/ralink/timer.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)arch/mips/ralink/timer.c +9
-3@@ -6,10 +6,16 @@* Copyright (C) 2013 John Crispin <[email protected]> */ -#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> Signature · 1 line
2.43.0.rc1.1.gbec44491f096
applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]