summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-08-15 15:35:14 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-08-15 15:35:14 +0000
commit23bbff24aa427d6d0c16707dbe99c28ba2075894 (patch)
tree85a192d3c208bad407b48ce26a34f29ba1af859f /linux-core/drm_stub.c
parent740ddb9c5d5506bc921d10742cf41b5aa143f84e (diff)
Add dev to DRIVER_CTX_DTOR( dev, pos->handle) so that sis driver will
compile #if 0 get_pci_driver use in hotplug function until fbdev work around is written
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index e993c99e..a5577879 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -129,7 +129,7 @@ static int drm_hotplug (struct class_device *dev, char **envp, int num_envp,
return -ENOMEM;
++length;
scratch += length;
-
+#if 0
ddev = pci_get_drvdata(pdev);
if (ddev) {
envp[i++] = scratch;
@@ -138,6 +138,7 @@ static int drm_hotplug (struct class_device *dev, char **envp, int num_envp,
if ((buffer_size - length <= 0) || (i >= num_envp))
return -ENOMEM;
}
+#endif
envp[i] = 0;
return 0;