summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEncrow Thorne <jyc0019@gmail.com>2025-11-10 09:10:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-08 12:14:11 +0300
commitd8218e3f39a70855da85021a6addcf65fb5e34ac (patch)
treecd6e857d171c6470079269d0cc1b377778102ad4 /include/linux
parentf7b6370d0fbee06a867037d675797a606cb62e57 (diff)
downloadlinux-d8218e3f39a70855da85021a6addcf65fb5e34ac.tar.xz
reset: fix BIT macro reference
[ Upstream commit f3d8b64ee46c9b4b0b82b1a4642027728bac95b8 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/reset.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/reset.h b/include/linux/reset.h
index 514ddf003efc..4b31d683776e 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>