提交 6244270e 编写于 作者: J Jay Estabrook 提交者: Dave Airlie

drm: fix alpha domain handling

Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册