summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/include
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2016-07-16 08:24:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-07-29 21:37:09 +0300
commit11f55a3ae65d8e98c63aca7ddf3fd3b04fc37c19 (patch)
tree1b22df8cc6ddeb1efae942dc3b5579aac5959f6f /drivers/gpu/drm/amd/include
parenteadf95431722b65d6cde23bce82c3dc37fc2aaad (diff)
downloadlinux-11f55a3ae65d8e98c63aca7ddf3fd3b04fc37c19.tar.xz
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/drm/amd/include')
-rw-r--r--drivers/gpu/drm/amd/include/cgs_common.h10
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 {
};
struct cgs_system_info {
- uint64_t size;
- uint64_t info_id;
+ uint64_t size;
+ enum cgs_system_info_id info_id;
union {
- void *ptr;
- uint64_t value;
+ void *ptr;
+ uint64_t value;
};
- uint64_t padding[13];
+ uint64_t padding[13];
};
/*