summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_device_info.h')
-rw-r--r--src/amd/vulkan/radv_device_info.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_device_info.h b/src/amd/vulkan/radv_device_info.h
index c38bd2a99ea..81cb321f9d7 100644
--- a/src/amd/vulkan/radv_device_info.h
+++ b/src/amd/vulkan/radv_device_info.h
@@ -21,12 +21,16 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef RADV_DEVICE_INFO_H
+#define RADV_DEVICE_INFO_H
#include <amdgpu.h>
#include "radv_radeon_winsys.h"
+
struct radv_device_info {
uint32_t pci_id;
enum chip_class chip_class;
};
+
+#endif /* RADV_DEVICE_INFO_H */