All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] drm/i915: Include only needed headers in ascii85.h
@ 2021-04-07 12:23 ` Andy Shevchenko
  0 siblings, 0 replies; 15+ messages in thread
From: Andy Shevchenko @ 2021-04-07 12:23 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel
  Cc: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, intel-gfx

The ascii85.h is user of exactly two headers, i.e. math.h and types.h.
There is no need to carry on entire kernel.h.

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

diff --git a/include/linux/ascii85.h b/include/linux/ascii85.h
index 4cc40201273e..83ad775ad0aa 100644
--- a/include/linux/ascii85.h
+++ b/include/linux/ascii85.h
@@ -8,7 +8,8 @@
 #ifndef _ASCII85_H_
 #define _ASCII85_H_
 
-#include <linux/kernel.h>
+#include <linux/math.h>
+#include <linux/types.h>
 
 #define ASCII85_BUFSZ 6
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-05-17 14:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 12:23 [PATCH v1 1/1] drm/i915: Include only needed headers in ascii85.h Andy Shevchenko
2021-04-07 12:23 ` [Intel-gfx] " Andy Shevchenko
2021-04-07 12:42 ` [Intel-gfx] ✗ Fi.CI.DOCS: warning for series starting with [v1,1/1] " Patchwork
2021-04-07 12:46 ` [PATCH v1 1/1] " Jani Nikula
2021-04-07 12:46   ` [Intel-gfx] " Jani Nikula
2021-04-07 13:40   ` Andy Shevchenko
2021-04-07 13:40     ` [Intel-gfx] " Andy Shevchenko
2021-04-07 13:41     ` Andy Shevchenko
2021-04-07 13:41       ` [Intel-gfx] " Andy Shevchenko
2021-04-07 13:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [v1,1/1] " Patchwork
2021-04-07 14:20 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2021-05-17 12:19 ` [PATCH v1 1/1] " Andy Shevchenko
2021-05-17 12:19   ` [Intel-gfx] " Andy Shevchenko
2021-05-17 12:29   ` Christoph Hellwig
2021-05-17 12:29     ` [Intel-gfx] " Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.