aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/adv7511-v4l2.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-08-07 05:43:32 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-07 17:07:29 -0300
commit25a3d6bac6b9ff7d62033185780daa1b4f7bee2f (patch)
treed22c00018c2a4d4382cf2ee793f9dd6e8e546472 /drivers/media/i2c/adv7511-v4l2.c
parentmedia: media/platform: fsl-viu.c: fix build for MICROBLAZE (diff)
downloadlinux-dev-25a3d6bac6b9ff7d62033185780daa1b4f7bee2f.tar.xz
linux-dev-25a3d6bac6b9ff7d62033185780daa1b4f7bee2f.zip
media: adv7511/cobalt: rename driver name to adv7511-v4l2
Commit b2ce5617dad2 ("media: i2c: fix warning same module names") renamed the adv7511 module in the media tree to adv7511-v4l2. This patch does the same rename for the driver name and device id to keep the naming consistent. Since the cobalt driver loads this module, it had to be renamed there as well. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c/adv7511-v4l2.c')
-rw-r--r--drivers/media/i2c/adv7511-v4l2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/adv7511-v4l2.c b/drivers/media/i2c/adv7511-v4l2.c
index 2ad6bdf1a9fc..45cc5a4c2de5 100644
--- a/drivers/media/i2c/adv7511-v4l2.c
+++ b/drivers/media/i2c/adv7511-v4l2.c
@@ -1980,14 +1980,14 @@ static int adv7511_remove(struct i2c_client *client)
/* ----------------------------------------------------------------------- */
static const struct i2c_device_id adv7511_id[] = {
- { "adv7511", 0 },
+ { "adv7511-v4l2", 0 },
{ }
};
MODULE_DEVICE_TABLE(i2c, adv7511_id);
static struct i2c_driver adv7511_driver = {
.driver = {
- .name = "adv7511",
+ .name = "adv7511-v4l2",
},
.probe = adv7511_probe,
.remove = adv7511_remove,