kconfig: move ARRAY_SIZE to a header
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 2 Feb 2024 15:58:21 +0000 (00:58 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 19 Feb 2024 09:20:41 +0000 (18:20 +0900)
commita6dac4002b88f0ad242ac20d9de86d11321ecf84
treed1d62659b6ce342d6722e1abbee6088419f2a893
parent0a3128e75108cc23401aa5059b851ed047bfff0e
kconfig: move ARRAY_SIZE to a header

To use ARRAY_SIZE from other files, move it to its own header,
just like include/linux/array_size.h.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/array_size.h [new file with mode: 0644]
scripts/kconfig/preprocess.c