]> err.no Git - linux-2.6/commitdiff
drm: fix alpha domain handling
authorJay Estabrook <Jay.Estabrook@hp.com>
Sun, 11 Mar 2007 00:46:27 +0000 (11:46 +1100)
committerDave Airlie <airlied@linux.ie>
Sun, 11 Mar 2007 01:08:21 +0000 (12:08 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h

index 85d99e21e1883c93ade0cdb964a3fd09fab18d7e..09705da8cdd7489d9f975bd028e7b31f11483271 100644 (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