summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 32ee0cbd..c9277051 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -255,7 +255,7 @@ err_g1:
*/
int drm_put_dev(drm_device_t * dev)
{
- DRM_DEBUG("release primary %s\n", dev->pdev->driver->name);
+ DRM_DEBUG("release primary %s\n", dev->driver->pci_driver.name);
if (dev->unique) {
drm_free(dev->unique, strlen(dev->unique) + 1, DRM_MEM_DRIVER);