diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2024-07-01 09:56:49 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-07-09 11:40:02 +0200 |
commit | 8b6742e5b31e213412d8a5a1b745ca03c6fd8409 (patch) | |
tree | a81ac3a5f3b21c647ff31b823ef602e8b9d2dd02 /drivers/watchdog | |
parent | dt-bindings: mfd: syscon: Add APM poweroff mailbox (diff) | |
download | linux-8b6742e5b31e213412d8a5a1b745ca03c6fd8409.tar.xz linux-8b6742e5b31e213412d8a5a1b745ca03c6fd8409.zip |
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 <mazziesaccount@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406300817.hcJ9VtLf-lkp@intel.com/
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/ZoJhQVF-U6sSJ_Sg@fedora
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/bd96801_wdt.c | 1 |
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> |