media: i2c: fix warning same module names
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 12 Jun 2019 16:19:35 +0000 (12:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:38:08 +0000 (16:38 -0400)
commitb2ce5617dad254230551feda3599f2cc68e53ad8
tree781176304567401bf2f1a90f5821109ad590c6be
parent89a9f68883bbaba645352a90016f496d48c75be2
media: i2c: fix warning same module names

When building with CONFIG_VIDEO_ADV7511 and CONFIG_DRM_I2C_ADV7511
enabled as loadable modules, we see the following warning:

  drivers/gpu/drm/bridge/adv7511/adv7511.ko
  drivers/media/i2c/adv7511.ko

Rework so that the file is named adv7511-v4l2.c.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/Makefile
drivers/media/i2c/adv7511-v4l2.c [new file with mode: 0644]
drivers/media/i2c/adv7511.c [deleted file]