Reviewed-by: Marek Olšák <marek.olsak@amd.com>
#include <amdgpu.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct radeon_info {
/* PCI info: domain:bus:dev:func */
uint32_t pci_domain;
struct radeon_info *info,
struct amdgpu_gpu_info *amdinfo);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* AC_GPU_INFO_H */
#include "amd_family.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Forward declarations. */
typedef void* ADDR_HANDLE;
enum radeon_surf_mode mode,
struct radeon_surf *surf);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* AC_SURFACE_H */