drm/amdgpu: fix incorrect type of info_id
authorHuang Rui <ray.huang@amd.com>
Sat, 16 Jul 2016 05:24:45 +0000 (13:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:09 +0000 (14:37 -0400)
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>
drivers/gpu/drm/amd/include/cgs_common.h

index f32af2f2091a626a092f79b79f8c102e6f724395..ed5fa335736443e467c0b8481a5f8523d84839fc 100644 (file)
@@ -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];
 };
 
 /*