From 60bfe30b7d50975cbdf68c96f7b8e38d11f59028 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 29 Aug 2024 03:57:35 +0000 Subject: [PATCH] unstub pdev_to_i915() --- sys/dev/pci/drm/i915/i915_drv.h | 4 ---- 1 file changed, 4 deletions(-) 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) -- 2.20.1