summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_vbt_defs.h
diff options
context:
space:
mode:
authorJani Nikula2017-08-24 20:54:01 +0200
committerJani Nikula2017-08-25 15:18:07 +0200
commitd58107f984e26725b4e92063c53da5a4d8f7a02f (patch)
tree8d779759f7f500a783ac66a0049f3d8a5c85a26c /drivers/gpu/drm/i915/intel_vbt_defs.h
parentdrm/i915/bios: document BDB versions of child device config fields (diff)
downloadkernel-qcow2-linux-d58107f984e26725b4e92063c53da5a4d8f7a02f.tar.gz
kernel-qcow2-linux-d58107f984e26725b4e92063c53da5a4d8f7a02f.tar.xz
kernel-qcow2-linux-d58107f984e26725b4e92063c53da5a4d8f7a02f.zip
drm/i915/bios: remove the raw version of child device config
Convert the only user of the raw field, switching to the recently added struct fields. No functional changes. Cc: Animesh Manna <animesh.manna@intel.com> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> 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/83e6a2058553a43e0d08a49df1f86821f38b206b.1503600621.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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_vbt_defs.h b/drivers/gpu/drm/i915/intel_vbt_defs.h
index 6bc28e57f805..293b9e3a6653 100644
--- a/drivers/gpu/drm/i915/intel_vbt_defs.h
+++ b/drivers/gpu/drm/i915/intel_vbt_defs.h
@@ -312,9 +312,6 @@ struct common_child_dev_config {
/* This field changes depending on the BDB version, so the most reliable way to
* read it is by checking the BDB version and reading the raw pointer. */
union child_device_config {
- /* This one is safe to be used anywhere, but the code should still check
- * the BDB version. */
- u8 raw[33];
/* This one should only be kept for legacy code. */
struct old_child_dev_config old;
/* This one should also be safe to use anywhere, even without version