From: nengwen.chen Date: Fri, 25 May 2018 10:49:40 +0000 (+0800) Subject: atv_demod: Modify atv v4l2 dev number X-Git-Tag: khadas-vims-v0.9.6-release~1994 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a1926bbf91040a0ccebc8f8dd0a326cf18da813;p=platform%2Fkernel%2Flinux-amlogic.git atv_demod: Modify atv v4l2 dev number PD#166852: atv_demod: Modify atv v4l2 dev number. Change-Id: I6dfa226715d5e3908a20add4c93f0ba554a769dc Signed-off-by: nengwen.chen --- diff --git a/drivers/amlogic/atv_demod/atv_demod_v4l2.c b/drivers/amlogic/atv_demod/atv_demod_v4l2.c index 214aafd..d0ae4ad 100644 --- a/drivers/amlogic/atv_demod/atv_demod_v4l2.c +++ b/drivers/amlogic/atv_demod/atv_demod_v4l2.c @@ -1551,7 +1551,7 @@ int v4l2_resister_frontend(struct v4l2_frontend *v4l2_fe) v4l2dev->video_dev->dev.init_name = DEVICE_NAME; ret = video_register_device(v4l2dev->video_dev, - VFL_TYPE_GRABBER, -1); + VFL_TYPE_GRABBER, 36);/* -1 --> 36 */ if (ret) { pr_err("register video device fail.\n"); goto vdev_fail;