diff mbox series

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

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

Commit Message

Andy Shevchenko April 22, 2024, 2:48 p.m. UTC
Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/counter.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

William Breathitt Gray April 23, 2024, 12:01 a.m. UTC | #1
On Mon, 22 Apr 2024 17:48:50 +0300, Andy Shevchenko wrote:
> 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,
diff mbox series

Patch

diff --git a/include/linux/counter.h b/include/linux/counter.h
index cd35d8574ee2..426b7d58a438 100644
--- a/include/linux/counter.h
+++ b/include/linux/counter.h
@@ -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;