diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-06-07 02:12:22 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-06-17 12:32:27 -0700 |
commit | 8a6f9d5c172d1aa170754832d0214983ed51fa01 (patch) | |
tree | dfd3b4e6d5faa92dd17096647d0c497ff372356c /drivers/gpu/drm/i915 | |
parent | 9ee7250384d877b3fca16e1ddcbeb2859a1b8d70 (diff) | |
download | linux-8a6f9d5c172d1aa170754832d0214983ed51fa01.tar.bz2 |
drm/i915/dmc: use kernel types
Change all fields in intel_package_header and intel_dmc_header whose
meaning are 1-byte numbers to use u8.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607091230.1489-2-lucas.demarchi@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/intel_csr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_csr.c b/drivers/gpu/drm/i915/intel_csr.c index 097153c7f3d4..307ca793630d 100644 --- a/drivers/gpu/drm/i915/intel_csr.c +++ b/drivers/gpu/drm/i915/intel_csr.c @@ -130,12 +130,12 @@ struct intel_fw_info { struct intel_package_header { /* DMC container header length in dwords */ - unsigned char header_len; + u8 header_len; /* always value would be 0x01 */ - unsigned char header_ver; + u8 header_ver; - unsigned char reserved[10]; + u8 reserved[10]; /* Number of valid entries in the FWInfo array below */ u32 num_entries; @@ -148,10 +148,10 @@ struct intel_dmc_header { u32 signature; /* DMC binary header length */ - unsigned char header_len; + u8 header_len; /* 0x01 */ - unsigned char header_ver; + u8 header_ver; /* Reserved */ u16 dmcc_ver; |