diff options
| author | Encrow Thorne <jyc0019@gmail.com> | 2025-11-10 14:10:37 +0800 |
|---|---|---|
| committer | Philipp Zabel <p.zabel@pengutronix.de> | 2025-11-18 17:52:54 +0100 |
| commit | f3d8b64ee46c9b4b0b82b1a4642027728bac95b8 (patch) | |
| tree | 140d81752356fdb6a96badf5c0fcf34c5f6d4cc9 | |
| parent | cea5d43b63b221522f8532a7894149f3d8d11f4b (diff) | |
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>
| -rw-r--r-- | include/linux/reset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h index 840d75d172f6..44f9e3415f92 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -2,6 +2,7 @@ #ifndef _LINUX_RESET_H_ #define _LINUX_RESET_H_ +#include <linux/bits.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/types.h> |
