blob: 504dae72301c46f79fa1b153c6e4c641ff12cd32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
@@
identifier dev;
expression i;
@@
-struct drm_i915_private *dev = i;
+extern struct drm_device *i915; struct drm_i915_private *dev = i915->dev_private;
@@
identifier dev;
expression i;
@@
-struct pci_dev *dev = i;
+extern struct drm_device *i915; struct pci_dev *dev = i915->pdev;
@@
@@
-#include "i915_drm.h"
@@
@@
-#include "drm.h"
@@
@@
-#include "drmP.h"
@@
@@
-#include "i915_trace.h"
@@
identifier d;
@@
-(d)->pci_device
+(d)->pdev->device_id
|