Skip to content

Commit 824b744

Browse files
ambarusJassi Brar
authored andcommitted
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>
1 parent db824c1 commit 824b744

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/mailbox/mailbox.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef __MAILBOX_H
44
#define __MAILBOX_H
55

6+
#include <linux/bits.h>
7+
68
#define TXDONE_BY_IRQ BIT(0) /* controller has remote RTR irq */
79
#define TXDONE_BY_POLL BIT(1) /* controller can read status of last TX */
810
#define TXDONE_BY_ACK BIT(2) /* S/W ACK received by Client ticks the TX */

0 commit comments

Comments
 (0)