forked from luck/tmp_suning_uos_patched
drm: fix alpha domain handling
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
74be8e3b37
commit
6244270ef6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user