diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-09-15 18:00:33 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-10-17 17:10:53 -0400 |
commit | 9bfbd5cb72c9edb8504a4a7a0aa89cdb2fcb4845 (patch) | |
tree | b59f08475d3366e60e3c93538ad398905c4a74ec /drivers/gpu/drm/drm_stub.c | |
parent | e0f0754ff6128570dcf38032f5bfb1f195e5bbee (diff) |
drm: kill drm_device->irq
Like the last patch but adds a macro to get at the irq value instead of
dereferencing pdev directly. Should make things easier for the BSD guys and
if we ever support non-PCI devices.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_stub.c')
-rw-r--r-- | drivers/gpu/drm/drm_stub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index 82f4657b8879..141e33004a76 100644 --- a/drivers/gpu/drm/drm_stub.c +++ b/drivers/gpu/drm/drm_stub.c | |||
@@ -107,7 +107,6 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev, | |||
107 | #ifdef __alpha__ | 107 | #ifdef __alpha__ |
108 | dev->hose = pdev->sysdata; | 108 | dev->hose = pdev->sysdata; |
109 | #endif | 109 | #endif |
110 | dev->irq = pdev->irq; | ||
111 | 110 | ||
112 | if (drm_ht_create(&dev->map_hash, 12)) { | 111 | if (drm_ht_create(&dev->map_hash, 12)) { |
113 | return -ENOMEM; | 112 | return -ENOMEM; |