aboutsummaryrefslogtreecommitdiff
path: root/linux-core/i830_irq.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-12 03:59:17 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-12 03:59:17 +0000
commitad70dc676ebf8f2f86d171dccb873a04a3e5b87b (patch)
tree1ee7e58021f8348bff535b1301c3c50d99572f48 /linux-core/i830_irq.c
parentad549c5ae62fd75aa2bdb8bf5efc4913c476cb02 (diff)
Breakout heads into their own data structures.
Diffstat (limited to 'linux-core/i830_irq.c')
-rw-r--r--linux-core/i830_irq.c4
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;