diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-07-01 03:54:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 20:06:04 +0200 |
commit | 070c46505a265d54eba7f713760fa6ed984f2921 (patch) | |
tree | 4de5b564e0b82c88577c27e44d9ab7ed13040afb | |
parent | sysctl: remove redundant assignment to first (diff) | |
download | linux-070c46505a265d54eba7f713760fa6ed984f2921.tar.xz linux-070c46505a265d54eba7f713760fa6ed984f2921.zip |
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.
Link: https://lkml.kernel.org/r/20210611185915.44181-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/ascii85.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |