diff options
author | Jay Estabrook <Jay.Estabrook@hp.com> | 2007-03-10 19:46:27 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-03-10 20:08:21 -0500 |
commit | 6244270ef62203e057191bf85489e2ff91cc0e60 (patch) | |
tree | bdf26ed27f2e1cff8eb9f1da4c52a66871d5ca54 /drivers/char/drm | |
parent | 74be8e3b3707956f8f232313de9fad896d5489ac (diff) |
drm: fix alpha domain handling
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/drmP.h | 2 |
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, | |||
764 | } | 764 | } |
765 | 765 | ||
766 | #ifdef __alpha__ | 766 | #ifdef __alpha__ |
767 | #define drm_get_pci_domain(dev) dev->hose->bus->number | 767 | #define drm_get_pci_domain(dev) dev->hose->index |
768 | #else | 768 | #else |
769 | #define drm_get_pci_domain(dev) 0 | 769 | #define drm_get_pci_domain(dev) 0 |
770 | #endif | 770 | #endif |