From: jsg Date: Thu, 29 Aug 2024 03:57:35 +0000 (+0000) Subject: unstub pdev_to_i915() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=60bfe30b7d50975cbdf68c96f7b8e38d11f59028;p=openbsd unstub pdev_to_i915() --- diff --git a/sys/dev/pci/drm/i915/i915_drv.h b/sys/dev/pci/drm/i915/i915_drv.h index 673a0164f7d..558b56f0946 100644 --- a/sys/dev/pci/drm/i915/i915_drv.h +++ b/sys/dev/pci/drm/i915/i915_drv.h @@ -449,11 +449,7 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev) static inline struct drm_i915_private *pdev_to_i915(struct pci_dev *pdev) { - STUB(); - return NULL; -#ifdef notyet return pci_get_drvdata(pdev); -#endif } static inline struct intel_gt *to_gt(struct drm_i915_private *i915)