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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 801c659 commit 6a4a2d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)