Commit ae9a7d57 authored by Eugen Hristev's avatar Eugen Hristev Committed by Mauro Carvalho Chehab

media: atmel: atmel-isc: replace video device name with module name

To have consistency with future media controller development,
replace the video device name with KBUILD_MODNAME.
Signed-off-by: default avatarEugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 118bf76a
...@@ -1886,7 +1886,7 @@ static int isc_async_complete(struct v4l2_async_notifier *notifier) ...@@ -1886,7 +1886,7 @@ static int isc_async_complete(struct v4l2_async_notifier *notifier)
} }
/* Register video device */ /* Register video device */
strscpy(vdev->name, "microchip-isc", sizeof(vdev->name)); strscpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name));
vdev->release = video_device_release_empty; vdev->release = video_device_release_empty;
vdev->fops = &isc_fops; vdev->fops = &isc_fops;
vdev->ioctl_ops = &isc_ioctl_ops; vdev->ioctl_ops = &isc_ioctl_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment