summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJay Estabrook <Jay.Estabrook@hp.com>2007-02-27 08:55:08 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-02-27 08:56:20 +0000
commit6a51da7325163151678c27dcbf51595092773d7a (patch)
tree7f1bece734fa9cf8e8f0043b58516c9578a1ba34 /linux-core
parent80468e75323a4353e29f010b61ee657851f8508c (diff)
Fix Alpha domain/bus issue
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drmP.h2
1 files changed, 1 insertions, 1 deletions
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