[PATCH master 02/13] tee: add missing header for BIT macro definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Compile test with sandbox fails because the BIT macro isn't defined.
Include the relevant header to fix this, even if TEE is in the end not
usable on that architecture (yet?).

Reported-by: Abdelrahman Youssef <abdelrahmanyossef12@xxxxxxxxx>
Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 include/linux/tee_drv.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h
index 4a5cb0f0a50f..7289c3057a67 100644
--- a/include/linux/tee_drv.h
+++ b/include/linux/tee_drv.h
@@ -6,6 +6,7 @@
 #ifndef __TEE_DRV_H
 #define __TEE_DRV_H
 
+#include <linux/bits.h>
 #include <linux/device.h>
 #include <linux/idr.h>
 #include <linux/kref.h>
-- 
2.39.5





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux