summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJay Estabrook <Jay.Estabrook@hp.com>2007-03-11 01:46:27 +0100
committerDave Airlie <airlied@linux.ie>2007-03-11 02:08:21 +0100
commit6244270ef62203e057191bf85489e2ff91cc0e60 (patch)
treebdf26ed27f2e1cff8eb9f1da4c52a66871d5ca54 /drivers
parentvia: fix CX700 pci id (diff)
downloadlinux-6244270ef62203e057191bf85489e2ff91cc0e60.tar.xz
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