Browse Source

drm: fix alpha domain handling

Signed-off-by: Dave Airlie <airlied@linux.ie>
Jay Estabrook 18 years ago
parent
commit
6244270ef6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/char/drm/drmP.h

+ 1 - 1
drivers/char/drm/drmP.h

@@ -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