summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_vbt_defs.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2018-06-12 11:19:29 +0200
committerJani Nikula <jani.nikula@intel.com>2018-06-18 13:44:52 +0200
commit0ede01418854664526541eed7164c2e77df1646c (patch)
tree5a5cceac7a5480382497c3a35c67fd81df1a5193 /drivers/gpu/drm/i915/intel_vbt_defs.h
parentdrm/i915: Fix fallout of fake reset along resume (diff)
downloadlinux-0ede01418854664526541eed7164c2e77df1646c.tar.xz
linux-0ede01418854664526541eed7164c2e77df1646c.zip
drm/i915/vbt: switch to kernel unsigned int types
We have fairly mixed uintN_t vs. uN usage throughout the driver, but try to stick to kernel types at least where it's more prevalent. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ed5de29c280797b20eb625d52592dcbba8326684.1528794959.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_vbt_defs.h')
-rw-r--r--drivers/gpu/drm/i915/intel_vbt_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_vbt_defs.h b/drivers/gpu/drm/i915/intel_vbt_defs.h
index c614c9f3f28b..bba98cf83cbd 100644
--- a/drivers/gpu/drm/i915/intel_vbt_defs.h
+++ b/drivers/gpu/drm/i915/intel_vbt_defs.h
@@ -456,7 +456,7 @@ struct bdb_general_definitions {
* number = (block_size - sizeof(bdb_general_definitions))/
* defs->child_dev_size;
*/
- uint8_t devices[0];
+ u8 devices[0];
} __packed;
/* Mask for DRRS / Panel Channel / SSC / BLT control bits extraction */