Commit 11f55a3a authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amdgpu: fix incorrect type of info_id

Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent eadf9543
...@@ -121,13 +121,13 @@ enum cgs_system_info_id { ...@@ -121,13 +121,13 @@ enum cgs_system_info_id {
}; };
struct cgs_system_info { struct cgs_system_info {
uint64_t size; uint64_t size;
uint64_t info_id; enum cgs_system_info_id info_id;
union { union {
void *ptr; void *ptr;
uint64_t value; uint64_t value;
}; };
uint64_t padding[13]; uint64_t padding[13];
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment