diff options
author | Jay Estabrook <Jay.Estabrook@hp.com> | 2007-03-11 11:46:27 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-03-11 12:08:21 +1100 |
commit | 6244270ef62203e057191bf85489e2ff91cc0e60 (patch) | |
tree | bdf26ed27f2e1cff8eb9f1da4c52a66871d5ca54 /drivers/char/drm/drmP.h | |
parent | 74be8e3b3707956f8f232313de9fad896d5489ac (diff) |
drm: fix alpha domain handling
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-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, } #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 |