summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2025-02-24 11:27:16 +0300
committerJassi Brar <jassisinghbrar@gmail.com>2025-03-27 04:58:25 +0300
commit824b7442ed521b4373d864684387d5cedbb0ba18 (patch)
tree8ea02035bfc94089cf8ed0d552a9efde5dd9db71
parentdb824c1119fc16556a84cb7a771ca6553b3c3a45 (diff)
downloadlinux-824b7442ed521b4373d864684387d5cedbb0ba18.tar.xz
mailbox: explicitly include <linux/bits.h>
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>
-rw-r--r--drivers/mailbox/mailbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mailbox/mailbox.h b/drivers/mailbox/mailbox.h
index 046d6d258b32..e1ec4efab693 100644
--- a/drivers/mailbox/mailbox.h
+++ b/drivers/mailbox/mailbox.h
@@ -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 */