media: i2c: fix warning same module names
authorAnders Roxell <anders.roxell@linaro.org>
Wed, 12 Jun 2019 16:19:35 +0000 (12:19 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Aug 2019 07:33:21 +0000 (09:33 +0200)
commit23497433517a86c13b5a636cdf3e4c06c64a3569
tree5e37c433069e8eda7df9207f5982be8d63334a52
parentdfa3cee5e1dc0a606bfda0bd214c2aa5005dee45
media: i2c: fix warning same module names

[ Upstream commit b2ce5617dad254230551feda3599f2cc68e53ad8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/Makefile
drivers/media/i2c/adv7511-v4l2.c [moved from drivers/media/i2c/adv7511.c with 99% similarity]