Skip to content

Commit

Permalink
drm: fix alpha domain handling
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Jay Estabrook authored and Dave Airlie committed Mar 11, 2007
1 parent 74be8e3 commit 6244270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6244270

Please sign in to comment.