]> git.ipfire.org Git - thirdparty/linux.git/commit
reset: fix BIT macro reference
authorEncrow Thorne <jyc0019@gmail.com>
Mon, 10 Nov 2025 06:10:37 +0000 (14:10 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Nov 2025 16:52:54 +0000 (17:52 +0100)
commitf3d8b64ee46c9b4b0b82b1a4642027728bac95b8
tree140d81752356fdb6a96badf5c0fcf34c5f6d4cc9
parentcea5d43b63b221522f8532a7894149f3d8d11f4b
reset: fix BIT macro reference

RESET_CONTROL_FLAGS_BIT_* macros use BIT(), but reset.h does not
include bits.h. This causes compilation errors when including
reset.h standalone.

Include bits.h to make reset.h self-contained.

Suggested-by: Troy Mitchell <troy.mitchell@linux.dev>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.dev>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Encrow Thorne <jyc0019@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/reset.h