From 6a51da7325163151678c27dcbf51595092773d7a Mon Sep 17 00:00:00 2001 From: Jay Estabrook Date: Tue, 27 Feb 2007 08:55:08 +0000 Subject: Fix Alpha domain/bus issue --- linux-core/drmP.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 9b5f5bdd..2285bc02 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -847,7 +847,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev, } #ifdef __alpha__ -#define drm_get_pci_domain(dev) dev->hose->bus->number +#define drm_get_pci_domain(dev) dev->hose->index #else #define drm_get_pci_domain(dev) 0 #endif -- cgit v1.2.3