Skip to content

Commit 6a4a2d5

Browse files
andy-shevWim Van Sebroeck
authored andcommitted
watchdog: it87_wdt: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle. Note that kernel.h is discouraged to be included as it's written at the top of that file. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20250708133646.70384-2-andriy.shevchenko@linux.intel.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent 801c659 commit 6a4a2d5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

drivers/watchdog/it87_wdt.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@
2222

2323
#include <linux/bits.h>
2424
#include <linux/dmi.h>
25+
#include <linux/errno.h>
2526
#include <linux/init.h>
2627
#include <linux/io.h>
27-
#include <linux/kernel.h>
28+
#include <linux/ioport.h>
2829
#include <linux/module.h>
2930
#include <linux/moduleparam.h>
31+
#include <linux/printk.h>
3032
#include <linux/types.h>
3133
#include <linux/watchdog.h>
3234

0 commit comments

Comments
 (0)