diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-10-20 05:11:49 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-10-20 05:11:49 +0000 |
commit | 7ebbebf3d3a3af3c363a1396d737d5a61634124b (patch) | |
tree | 9ced0d913d66ea55bd06f9f0a21619875ee494e8 /linux-core/drm_stub.c | |
parent | 5ae6c5af751780fbf424b848aa2355bc303a5b73 (diff) |
Switch linux-core from using dev->pdev->driver->name to
dev->driver->pci_driver.name. This avoids the stealth mode case where
pdev is pointing to the wrong driver or no driver.
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r-- | linux-core/drm_stub.c | 2 |
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); |