aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/radeon_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/radeon_irq.c')
-rw-r--r--drivers/char/drm/radeon_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/radeon_irq.c b/drivers/char/drm/radeon_irq.c
index 88d19a2e85c0..173cb06bb294 100644
--- a/drivers/char/drm/radeon_irq.c
+++ b/drivers/char/drm/radeon_irq.c
@@ -203,7 +203,7 @@ int radeon_irq_emit(DRM_IOCTL_ARGS)
203 drm_radeon_irq_emit_t emit; 203 drm_radeon_irq_emit_t emit;
204 int result; 204 int result;
205 205
206 LOCK_TEST_WITH_RETURN(dev, filp); 206 LOCK_TEST_WITH_RETURN(dev, file_priv);
207 207
208 if (!dev_priv) { 208 if (!dev_priv) {
209 DRM_ERROR("%s called with no initialization\n", __FUNCTION__); 209 DRM_ERROR("%s called with no initialization\n", __FUNCTION__);