drm: fix alpha domain handling

Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Jay Estabrook 2007-03-11 11:46:27 +11:00 committed by Dave Airlie
parent 74be8e3b37
commit 6244270ef6

View file

@ -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