diff options
author | Dave Airlie <airlied@linux.ie> | 2006-08-07 20:23:42 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-22 05:32:30 +1000 |
commit | 332296016ee2e808b362de66bf6bec49c396e5bf (patch) | |
tree | 4bf9c5794f851f1a54e8468b4da9c0531795e004 /drivers/char/drm/drm_stub.c | |
parent | 242ef0e1e7e5bb7e80c3620c1aa55168819d6fb8 (diff) | |
download | linux-332296016ee2e808b362de66bf6bec49c396e5bf.tar.gz linux-332296016ee2e808b362de66bf6bec49c396e5bf.tar.bz2 linux-332296016ee2e808b362de66bf6bec49c396e5bf.zip |
drm: remove the DRM pci domain
This patch removes the pci_domain from the DRM device structure, and
gets it via a macro that either asks the platform or does the alpha special
case. jgarzik asked for this to just use the platform magic, but I've no
alpha experience and I'd rather not just break it and wait for someone to
give out.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_stub.c')
-rw-r--r-- | drivers/char/drm/drm_stub.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/drm/drm_stub.c b/drivers/char/drm/drm_stub.c index 96449d538e15..b1ead37c51d6 100644 --- a/drivers/char/drm/drm_stub.c +++ b/drivers/char/drm/drm_stub.c @@ -68,9 +68,6 @@ static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev, #ifdef __alpha__ dev->hose = pdev->sysdata; - dev->pci_domain = dev->hose->bus->number; -#else - dev->pci_domain = 0; #endif dev->irq = pdev->irq; |