diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-02-02 14:39:24 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-02-02 14:39:25 +0200 |
commit | eaf9a3465d9b1fd1dc5a9a151380d84ac3789964 (patch) | |
tree | c573ccc955c4f47ce4e2a090aa3641c3ff00acf8 /drivers/gpu/drm/i915/display/intel_bios.c | |
parent | 29e92559013360c43886e7fb229ed12fd96f46ef (diff) | |
parent | 9ff06c38530099b197b6389193e8cc34ab60288f (diff) |
Merge tag 'topic/drm-device-pdev-2021-02-02' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next
Driver Changes:
- drm/i915: Remove references to struct drm_device.pdev
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
From: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/87y2g6fxxv.fsf@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_bios.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_bios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c index 796d6be0ba5d..7118530a1c38 100644 --- a/drivers/gpu/drm/i915/display/intel_bios.c +++ b/drivers/gpu/drm/i915/display/intel_bios.c @@ -2127,7 +2127,7 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size) static struct vbt_header *oprom_get_vbt(struct drm_i915_private *dev_priv) { - struct pci_dev *pdev = dev_priv->drm.pdev; + struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev); void __iomem *p = NULL, *oprom; struct vbt_header *vbt; u16 vbt_size; |