]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mailbox: explicitly include <linux/bits.h>
authorTudor Ambarus <tudor.ambarus@linaro.org>
Mon, 24 Feb 2025 08:27:16 +0000 (08:27 +0000)
committerJassi Brar <jassisinghbrar@gmail.com>
Thu, 27 Mar 2025 01:58:25 +0000 (20:58 -0500)
Don't rely on those including the header file to already include the
needed <linux/bits.h>. Include it in the header file.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/mailbox.h

index 046d6d258b320c3c3cd448eb9c3ce53f3154f99f..e1ec4efab693e439c0657e357d094a899ae10fda 100644 (file)
@@ -3,6 +3,8 @@
 #ifndef __MAILBOX_H
 #define __MAILBOX_H
 
+#include <linux/bits.h>
+
 #define TXDONE_BY_IRQ  BIT(0) /* controller has remote RTR irq */
 #define TXDONE_BY_POLL BIT(1) /* controller can read status of last TX */
 #define TXDONE_BY_ACK  BIT(2) /* S/W ACK received by Client ticks the TX */