summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2016-07-16 07:24:45 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-07-29 20:37:09 +0200
commit11f55a3ae65d8e98c63aca7ddf3fd3b04fc37c19 (patch)
tree1b22df8cc6ddeb1efae942dc3b5579aac5959f6f
parentdrm/amdgpu: make amdgpu_cgs_call_acpi_method as static (diff)
downloadlinux-11f55a3ae65d8e98c63aca7ddf3fd3b04fc37c19.tar.xz
linux-11f55a3ae65d8e98c63aca7ddf3fd3b04fc37c19.zip
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>
-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];
};
/*