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_proc.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_proc.c')
-rw-r--r-- | linux-core/drm_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index bd7b9513..5a92fb30 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -175,10 +175,10 @@ static int drm_name_info(char *buf, char **start, off_t offset, int request, if (dev->unique) { DRM_PROC_PRINT("%s %s %s\n", - dev->pdev->driver->name, pci_name(dev->pdev), + dev->driver->pci_driver.name, pci_name(dev->pdev), dev->unique); } else { - DRM_PROC_PRINT("%s %s\n", dev->pdev->driver->name, + DRM_PROC_PRINT("%s %s\n", dev->driver->pci_driver.name, pci_name(dev->pdev)); } |