From 7ebbebf3d3a3af3c363a1396d737d5a61634124b Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Wed, 20 Oct 2004 05:11:49 +0000 Subject: 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. --- linux-core/drm_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_stub.c') 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); -- cgit v1.2.3