From 97b8aa52bba602d5babe225983f7e4c7cb4d7492 Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Fri, 10 Aug 2001 16:29:21 +0000 Subject: Commit Keith Owens kernel Makefile changes, merge and commit alpha patch set from Jay Estabrook (sans some mga modifications which broke other arch's.) --- linux/drm_ioctl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linux/drm_ioctl.h') diff --git a/linux/drm_ioctl.h b/linux/drm_ioctl.h index 4712cbd3..e0c87d2d 100644 --- a/linux/drm_ioctl.h +++ b/linux/drm_ioctl.h @@ -114,8 +114,10 @@ int DRM(setunique)(struct inode *inode, struct file *filp, if (*p) break; pci_dev = pci_find_slot(b, PCI_DEVFN(d,f)); - if (pci_dev) + if (pci_dev) { + dev->pdev = pci_dev; dev->hose = pci_dev->sysdata; + } } while(0); #endif -- cgit v1.2.3