summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJay Estabrook <Jay.Estabrook@hp.com>2007-03-11 11:46:27 +1100
committerDave Airlie <airlied@linux.ie>2007-03-11 12:08:21 +1100
commit6244270ef62203e057191bf85489e2ff91cc0e60 (patch)
treebdf26ed27f2e1cff8eb9f1da4c52a66871d5ca54 /drivers
parent74be8e3b3707956f8f232313de9fad896d5489ac (diff)
downloadblackbird-op-linux-6244270ef62203e057191bf85489e2ff91cc0e60.tar.gz
blackbird-op-linux-6244270ef62203e057191bf85489e2ff91cc0e60.zip
drm: fix alpha domain handling
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/drm/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 85d99e21e188..09705da8cdd7 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -764,7 +764,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
OpenPOWER on IntegriCloud