]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
watchdog: bd96801_wdt: Add missing include for FIELD_*()
authorMatti Vaittinen <mazziesaccount@gmail.com>
Mon, 1 Jul 2024 07:56:49 +0000 (10:56 +0300)
committerLee Jones <lee@kernel.org>
Tue, 9 Jul 2024 09:40:02 +0000 (10:40 +0100)
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>
drivers/watchdog/bd96801_wdt.c

index ff51f42ced2a81395cec751ca6dd2e6e54e95578..12b74fd2bc052faa056fab8560e0d91759e5924d 100644 (file)
@@ -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>