Commit 6244270e authored by Jay Estabrook's avatar Jay Estabrook Committed by Dave Airlie

drm: fix alpha domain handling

Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 74be8e3b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment