]> git.baikalelectronics.ru Git - kernel.git/commit
libfdt: reduce the number of headers included from libfdt_env.h
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 17 Jun 2019 16:21:23 +0000 (01:21 +0900)
committerRob Herring <robh@kernel.org>
Thu, 24 Oct 2019 22:38:31 +0000 (17:38 -0500)
commit73b486e10f0aad337e56f1f74a7bfec5d826b7d0
tree5507e6662f8312159e6f711ec607b3d8ba33a6f9
parenta6ff64419612ecbe41fa74c742dee30a159f736f
libfdt: reduce the number of headers included from libfdt_env.h

Currently, libfdt_env.h includes <linux/kernel.h> just for INT_MAX.

<linux/kernel.h> pulls in a lots of broat.

Thanks to commit b390a05403a8 ("linux/kernel.h: split *_MAX and *_MIN
macros into <linux/limits.h>"), <linux/kernel.h> can be replaced with
<linux/limits.h>.

This saves including dozens of headers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/libfdt_env.h