aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/via_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/via_video.c')
-rw-r--r--drivers/char/drm/via_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/via_video.c b/drivers/char/drm/via_video.c
index c15e75b54cb1..6ec04ac12459 100644
--- a/drivers/char/drm/via_video.c
+++ b/drivers/char/drm/via_video.c
@@ -33,7 +33,7 @@ void via_init_futex(drm_via_private_t * dev_priv)
33{ 33{
34 unsigned int i; 34 unsigned int i;
35 35
36 DRM_DEBUG("%s\n", __FUNCTION__); 36 DRM_DEBUG("\n");
37 37
38 for (i = 0; i < VIA_NR_XVMC_LOCKS; ++i) { 38 for (i = 0; i < VIA_NR_XVMC_LOCKS; ++i) {
39 DRM_INIT_WAITQUEUE(&(dev_priv->decoder_queue[i])); 39 DRM_INIT_WAITQUEUE(&(dev_priv->decoder_queue[i]));
@@ -73,7 +73,7 @@ int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_
73 drm_via_sarea_t *sAPriv = dev_priv->sarea_priv; 73 drm_via_sarea_t *sAPriv = dev_priv->sarea_priv;
74 int ret = 0; 74 int ret = 0;
75 75
76 DRM_DEBUG("%s\n", __FUNCTION__); 76 DRM_DEBUG("\n");
77 77
78 if (fx->lock > VIA_NR_XVMC_LOCKS) 78 if (fx->lock > VIA_NR_XVMC_LOCKS)
79 return -EFAULT; 79 return -EFAULT;