broadcom/common: Make v3d_device_info.h usable for C++
We need it for our pps ds. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Maíra Canal <mcanal@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32277>
This commit is contained in:
committed by
Marge Bot
parent
4da1756be4
commit
fadcea80c0
@@ -27,6 +27,10 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Struct for tracking features of the V3D chip across driver and compiler.
|
||||
*/
|
||||
@@ -93,4 +97,8 @@ v3d_device_has_unpack_max0(const struct v3d_device_info *devinfo)
|
||||
(devinfo->rev == 6 && devinfo->compat_rev >= 4)));
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user