Skip to content

Commit 8b6742e

Browse files
M-Vaittinenlag-linaro
authored andcommitted
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]>
1 parent 75c3d85 commit 8b6742e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/bd96801_wdt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* ROHM BD96801 watchdog driver
66
*/
77

8+
#include <linux/bitfield.h>
89
#include <linux/interrupt.h>
910
#include <linux/kernel.h>
1011
#include <linux/mfd/rohm-bd96801.h>

0 commit comments

Comments
 (0)