diff options
Diffstat (limited to 'linux/drm_ioctl.h')
-rw-r--r-- | linux/drm_ioctl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drm_ioctl.h b/linux/drm_ioctl.h index db793234..9232f398 100644 --- a/linux/drm_ioctl.h +++ b/linux/drm_ioctl.h @@ -140,7 +140,6 @@ int DRM(setunique)( DRM_OS_IOCTL ) sprintf(dev->devname, "%s@%s", dev->name, dev->unique); #ifdef __linux__ -#ifdef __alpha__ do { struct pci_dev *pci_dev; int b, d, f; @@ -158,10 +157,11 @@ int DRM(setunique)( DRM_OS_IOCTL ) pci_dev = pci_find_slot(b, PCI_DEVFN(d,f)); if (pci_dev) { dev->pdev = pci_dev; +#ifdef __alpha__ dev->hose = pci_dev->sysdata; +#endif } } while(0); -#endif #endif /* __linux__ */ return 0; |