[PATCH v2 4/6] mailbox: explicitly include <linux/bits.h>

Tudor Ambarus posted 6 patches 11 months, 2 weeks ago
[PATCH v2 4/6] mailbox: explicitly include <linux/bits.h>
Posted by Tudor Ambarus 11 months, 2 weeks ago
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>
---
 drivers/mailbox/mailbox.h | 2 ++
 1 file changed, 2 insertions(+)

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 */

-- 
2.48.1.601.g30ceb7b040-goog