Skip to contentSkip to conversation

drm: Include only needed headers in ascii85.h

PATCH Applied Andy Shevchenko 1 participant 1 message Jun 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm: Include only needed headers in ascii85.h

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.

---
 include/linux/ascii85.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/ascii85.h +2 -1
index 4cc40201273e..83ad775ad0aa 100644
@@ -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
 
Signature · 1 line
2.30.2