diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-10-12 03:59:17 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-10-12 03:59:17 +0000 |
commit | ad70dc676ebf8f2f86d171dccb873a04a3e5b87b (patch) | |
tree | 1ee7e58021f8348bff535b1301c3c50d99572f48 /linux-core/i830_irq.c | |
parent | ad549c5ae62fd75aa2bdb8bf5efc4913c476cb02 (diff) |
Breakout heads into their own data structures.
Diffstat (limited to 'linux-core/i830_irq.c')
-rw-r--r-- | linux-core/i830_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/i830_irq.c b/linux-core/i830_irq.c index 7c709738..586ceae2 100644 --- a/linux-core/i830_irq.c +++ b/linux-core/i830_irq.c @@ -119,7 +119,7 @@ int i830_irq_emit(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) { drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; + drm_device_t *dev = priv->head->dev; drm_i830_private_t *dev_priv = dev->dev_private; drm_i830_irq_emit_t emit; int result; @@ -154,7 +154,7 @@ int i830_irq_wait(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) { drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; + drm_device_t *dev = priv->head->dev; drm_i830_private_t *dev_priv = dev->dev_private; drm_i830_irq_wait_t irqwait; |