]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64/sysreg: Directly include bitfield.h
authorMark Brown <broonie@kernel.org>
Thu, 18 Aug 2022 21:36:11 +0000 (22:36 +0100)
committerWill Deacon <will@kernel.org>
Tue, 23 Aug 2022 10:26:00 +0000 (11:26 +0100)
The SYS_FIELD_ macros in sysreg.h use definitions from bitfield.h but there
is no direct inclusion of it, add one to ensure that sysreg.h is directly
usable.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220818213613.733091-2-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/sysreg.h

index 7c71358d44c4ab811fc05af7ff6d405aa737d4cf..c670026770156c49b4d6b0a9459e54bbd8da3110 100644 (file)
 
 #else
 
+#include <linux/bitfield.h>
 #include <linux/build_bug.h>
 #include <linux/types.h>
 #include <asm/alternative.h>