aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Vaittinen <[email protected]>2024-07-01 10:56:49 +0300
committerLee Jones <[email protected]>2024-07-09 10:40:02 +0100
commit8b6742e5b31e213412d8a5a1b745ca03c6fd8409 (patch)
treea81ac3a5f3b21c647ff31b823ef602e8b9d2dd02
parent75c3d85083ff27bcaaa748cc3acf951f14d18ab6 (diff)
watchdog: bd96801_wdt: Add missing include for FIELD_*()
The FIELD_PREP() and FIELD_GET() macros are defined in the linux/bitfield.h. Include this header to avoid missing the macro definitions. Signed-off-by: Matti Vaittinen <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Acked-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/ZoJhQVF-U6sSJ_Sg@fedora Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--drivers/watchdog/bd96801_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/bd96801_wdt.c b/drivers/watchdog/bd96801_wdt.c
index ff51f42ced2a..12b74fd2bc05 100644
--- a/drivers/watchdog/bd96801_wdt.c
+++ b/drivers/watchdog/bd96801_wdt.c
@@ -5,6 +5,7 @@
* ROHM BD96801 watchdog driver
*/
+#include <linux/bitfield.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mfd/rohm-bd96801.h>