diff options
author | Huang Rui <ray.huang@amd.com> | 2016-07-16 01:24:45 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-29 14:37:09 -0400 |
commit | 11f55a3ae65d8e98c63aca7ddf3fd3b04fc37c19 (patch) | |
tree | 1b22df8cc6ddeb1efae942dc3b5579aac5959f6f /drivers/gpu | |
parent | eadf95431722b65d6cde23bce82c3dc37fc2aaad (diff) |
drm/amdgpu: fix incorrect type of info_id
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/include/cgs_common.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h index f32af2f2091a..ed5fa3357364 100644 --- a/drivers/gpu/drm/amd/include/cgs_common.h +++ b/drivers/gpu/drm/amd/include/cgs_common.h | |||
@@ -121,13 +121,13 @@ enum cgs_system_info_id { | |||
121 | }; | 121 | }; |
122 | 122 | ||
123 | struct cgs_system_info { | 123 | struct cgs_system_info { |
124 | uint64_t size; | 124 | uint64_t size; |
125 | uint64_t info_id; | 125 | enum cgs_system_info_id info_id; |
126 | union { | 126 | union { |
127 | void *ptr; | 127 | void *ptr; |
128 | uint64_t value; | 128 | uint64_t value; |
129 | }; | 129 | }; |
130 | uint64_t padding[13]; | 130 | uint64_t padding[13]; |
131 | }; | 131 | }; |
132 | 132 | ||
133 | /* | 133 | /* |