[media] v4l: vsp1: Fix typos
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 May 2014 15:59:39 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 15:44:51 +0000 (12:44 -0300)
Several macros were mistakenly prefixed with VPS1 instead of VSP1. Fix
them.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1.h
drivers/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_video.h

index 6ca2cf20d5454f55393819192b2f4aceb9b31f81..3cfa3939157e2b399d19a7562d7738f488610ad5 100644 (file)
@@ -36,9 +36,9 @@ struct vsp1_rwpf;
 struct vsp1_sru;
 struct vsp1_uds;
 
-#define VPS1_MAX_RPF           5
-#define VPS1_MAX_UDS           3
-#define VPS1_MAX_WPF           4
+#define VSP1_MAX_RPF           5
+#define VSP1_MAX_UDS           3
+#define VSP1_MAX_WPF           4
 
 struct vsp1_device {
        struct device *dev;
@@ -55,10 +55,10 @@ struct vsp1_device {
        struct vsp1_hsit *hst;
        struct vsp1_lif *lif;
        struct vsp1_lut *lut;
-       struct vsp1_rwpf *rpf[VPS1_MAX_RPF];
+       struct vsp1_rwpf *rpf[VSP1_MAX_RPF];
        struct vsp1_sru *sru;
-       struct vsp1_uds *uds[VPS1_MAX_UDS];
-       struct vsp1_rwpf *wpf[VPS1_MAX_WPF];
+       struct vsp1_uds *uds[VSP1_MAX_UDS];
+       struct vsp1_rwpf *wpf[VSP1_MAX_WPF];
 
        struct list_head entities;
 
index c69ee0657f7549edb661fe936a0f54d5b375dff8..0c5e74cdd3d0e22f926b3ab73fec18ec1445c503 100644 (file)
@@ -440,19 +440,19 @@ static int vsp1_validate_platform_data(struct platform_device *pdev,
                return -EINVAL;
        }
 
-       if (pdata->rpf_count <= 0 || pdata->rpf_count > VPS1_MAX_RPF) {
+       if (pdata->rpf_count <= 0 || pdata->rpf_count > VSP1_MAX_RPF) {
                dev_err(&pdev->dev, "invalid number of RPF (%u)\n",
                        pdata->rpf_count);
                return -EINVAL;
        }
 
-       if (pdata->uds_count <= 0 || pdata->uds_count > VPS1_MAX_UDS) {
+       if (pdata->uds_count <= 0 || pdata->uds_count > VSP1_MAX_UDS) {
                dev_err(&pdev->dev, "invalid number of UDS (%u)\n",
                        pdata->uds_count);
                return -EINVAL;
        }
 
-       if (pdata->wpf_count <= 0 || pdata->wpf_count > VPS1_MAX_WPF) {
+       if (pdata->wpf_count <= 0 || pdata->wpf_count > VSP1_MAX_WPF) {
                dev_err(&pdev->dev, "invalid number of WPF (%u)\n",
                        pdata->wpf_count);
                return -EINVAL;
index 7284320d54339059064eccee78b97186a7715599..cb5d9ef6a3116bf13d250d9ab9d4f812318e9b55 100644 (file)
@@ -73,7 +73,7 @@ struct vsp1_pipeline {
 
        unsigned int num_video;
        unsigned int num_inputs;
-       struct vsp1_rwpf *inputs[VPS1_MAX_RPF];
+       struct vsp1_rwpf *inputs[VSP1_MAX_RPF];
        struct vsp1_rwpf *output;
        struct vsp1_entity *bru;
        struct vsp1_entity *lif;