summaryrefslogtreecommitdiff
path: root/drivers/media/platform/imx-pxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/imx-pxp.c')
-rw-r--r--drivers/media/platform/imx-pxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/imx-pxp.c b/drivers/media/platform/imx-pxp.c
index 38d942322302..08d76eb05ed1 100644
--- a/drivers/media/platform/imx-pxp.c
+++ b/drivers/media/platform/imx-pxp.c
@@ -1709,7 +1709,7 @@ static int pxp_probe(struct platform_device *pdev)
goto err_v4l2;
}
- ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0);
+ ret = video_register_device(vfd, VFL_TYPE_VIDEO, 0);
if (ret) {
v4l2_err(&dev->v4l2_dev, "Failed to register video device\n");
goto err_m2m;