artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241151f
)
unstub pdev_to_i915()
author
jsg
<jsg@openbsd.org>
Thu, 29 Aug 2024 03:57:35 +0000
(
03:57
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 29 Aug 2024 03:57:35 +0000
(
03:57
+0000)
sys/dev/pci/drm/i915/i915_drv.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_drv.h
b/sys/dev/pci/drm/i915/i915_drv.h
index
673a016
..
558b56f
100644
(file)
--- 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)