Skip to contentSkip to conversation

counter: Don't use "proxy" headers

PATCH Applied Andy Shevchenko 2 participants 2 messages Apr 22, 2024 – Apr 23, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 counter: Don't use "proxy" headers

Update header inclusions to follow IWYU (Include What You Use) principle.

---
 include/linux/counter.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/counter.h +2 -1
index cd35d8574ee2..426b7d58a438 100644
@@ -6,14 +6,15 @@
 #ifndef _COUNTER_H_
 #define _COUNTER_H_
 
+#include <linux/array_size.h>
 #include <linux/cdev.h>
 #include <linux/device.h>
-#include <linux/kernel.h>
 #include <linux/kfifo.h>
 #include <linux/mutex.h>
 #include <linux/spinlock_types.h>
 #include <linux/types.h>
 #include <linux/wait.h>
+
 #include <uapi/linux/counter.h>
 
 struct counter_device;
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
maintainer Applied
#1 lore raw
Quoted 4 lines · Andy Shevchenko

Update header inclusions to follow IWYU (Include What You Use) principle.

Applied, thanks!

[1/1] counter: Don't use "proxy" headers

      commit: c265838feed136c5b1f83c976ec75962331cfb82

Best regards,

Signature · 1 line
William Breathitt Gray <[email protected]>