* [PATCH v1 1/1] counter: Don't use "proxy" headers
@ 2024-04-22 14:48 Andy Shevchenko
2024-04-23 0:01 ` William Breathitt Gray
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-04-22 14:48 UTC (permalink / raw)
To: William Breathitt Gray, linux-iio, linux-kernel
Cc: William Breathitt Gray, Andy Shevchenko
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(-)
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;
--
2.43.0.rc1.1336.g36b5255a03ac
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-23 0:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 14:48 [PATCH v1 1/1] counter: Don't use "proxy" headers Andy Shevchenko
2024-04-23 0:01 ` William Breathitt Gray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox