diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2019-06-12 18:19:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 22:38:08 +0200 |
commit | b2ce5617dad254230551feda3599f2cc68e53ad8 (patch) | |
tree | 781176304567401bf2f1a90f5821109ad590c6be /drivers/media/i2c/adv7511-v4l2.c | |
parent | media: staging: media: meson: remove redundant initialization of mpeg12 (diff) | |
download | linux-b2ce5617dad254230551feda3599f2cc68e53ad8.tar.xz linux-b2ce5617dad254230551feda3599f2cc68e53ad8.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/i2c/adv7511-v4l2.c (renamed from drivers/media/i2c/adv7511.c) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511-v4l2.c index cec5ebb1c9e6..2ad6bdf1a9fc 100644 --- a/drivers/media/i2c/adv7511.c +++ b/drivers/media/i2c/adv7511-v4l2.c @@ -5,6 +5,11 @@ * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved. */ +/* + * This file is named adv7511-v4l2.c so it doesn't conflict with the Analog + * Device ADV7511 (config fragment CONFIG_DRM_I2C_ADV7511). + */ + #include <linux/kernel.h> #include <linux/module.h> |