summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/radeon_irq.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-02-05 14:34:45 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-02-05 14:34:45 +1100
commit48772b4c581211a7bbddf2bb03040cb6c05339bb (patch)
treedef772d26699451f6bb8dfa4a3802d710509d5ff /sys/dev/pci/drm/radeon_irq.c
parent7a8dbf2bd26be06aa3b2d6bb65011fb55572a952 (diff)
sync i915_irq.c with linux
Diffstat (limited to 'sys/dev/pci/drm/radeon_irq.c')
-rw-r--r--sys/dev/pci/drm/radeon_irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon_irq.c b/sys/dev/pci/drm/radeon_irq.c
index b8276837532..c2d4642f419 100644
--- a/sys/dev/pci/drm/radeon_irq.c
+++ b/sys/dev/pci/drm/radeon_irq.c
@@ -326,8 +326,9 @@ radeon_irq_wait(struct drm_device *dev, void *data, struct drm_file *file_priv)
/* drm_dma.h hooks
*/
int
-radeon_driver_irq_install(struct drm_device * dev)
+radeon_driver_irq_install(int irq, void *arg)
{
+ struct drm_device *dev = (struct drm_device *) arg;
drm_radeon_private_t *dev_priv = dev->dev_private;
u_int32_t dummy;