summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-09-21 19:37:19 +0200
committerDave Airlie <airlied@linux.ie>2006-09-21 21:32:33 +0200
commit9b1a51b69c89028f18277e235533c160e7506ebb (patch)
tree4f73b62d45e409259cfb6ef19b7977f5aca3dc66 /drivers/char/drm/drmP.h
parentdrm: fixup setversion return codes.. (diff)
downloadlinux-9b1a51b69c89028f18277e235533c160e7506ebb.tar.xz
linux-9b1a51b69c89028f18277e235533c160e7506ebb.zip
drm: domain changes broke ppc r200
Freedesktop.org bug #8246 The domain changes regressed on PPC, go back to just using 0, as X.org's domain support is crap Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h
index 84e9c18fdbef..4363f6e50c77 100644
--- a/drivers/char/drm/drmP.h
+++ b/drivers/char/drm/drmP.h
@@ -747,7 +747,7 @@ static __inline__ int drm_core_check_feature(struct drm_device *dev,
#ifdef __alpha__
#define drm_get_pci_domain(dev) dev->hose->bus->number
#else
-#define drm_get_pci_domain(dev) pci_domain_nr(dev->pdev->bus)
+#define drm_get_pci_domain(dev) 0
#endif
#if __OS_HAS_AGP