Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10376675ybi; Wed, 24 Jul 2019 22:04:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzX3TbEU7WTkz99y8nuq3PET+DIm9wvM/gyMNLT9bJI9sOzpNbaTw02rzjBe+QHbvnI1FGL X-Received: by 2002:a63:1b66:: with SMTP id b38mr84243276pgm.54.1564031059545; Wed, 24 Jul 2019 22:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564031059; cv=none; d=google.com; s=arc-20160816; b=jhQoM6ysGUYglgb7asnqqzIG4rwn/62Z0N/JV+MFLRH32DFNWDZ/+AJQS5/7t1g6NE D6MUIP2Bv5zH9F+Jj0hbQQRhYJgCfGrl7pvNGSGMJayOs0w77BL70xnn3wDANqY4fU8k Sn72JFYjJD6XmxtZS8n/Yl7lmHoNcTYbfaiERKxT2HS59TljVGqMucCdsqDulxGFMMIK 9Ad2XRx8GfEBcblnBHRCuTKhfq0SBPyalBSwAMCkt5WnHDonuRIWO7rRvZt5NTpRkHBV uQpXW9iWvQ01kvaBABJGBU92yy6Kn1JktstFa+W3j/P67SDLeuFGLSqrjSP7z7HMEJZi se3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CLniDK6uv5r4g6qZ4aWOpR+7GmjbVXHcbziW22SCDDk=; b=udkk/BtvZUr7tBql29FKEfw4/BWTjhBub7S6nIrdskOOKMziDZwKW/GTz403gHbUAi IRLLXWqoFMvTTbSbGYdO+zYuHUh4w5O6oacfs+j3SYGBp0a6iSL217Zo3elDe38nf/t6 zHmeV25iy2x+h4ww2m/4z+34agGIvD1kEh96Ewbzdg6JbG+xCUEFIwn7AYif1z2kI5kV LivF5Otnzs0F7kiXO8sy8lzYsuPiLYiTXw6yqmnrP+jGWsI/TxzKO4HaDbsEkYSXgkBp cWIkneOfBdI3SUt/JnVxciGKOno4YDSgFvbFUWZgXFhGheqFYZZOWCPPHLWjbSXhXySA jHsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DtrBzeIR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si13648768pjd.64.2019.07.24.22.04.04; Wed, 24 Jul 2019 22:04:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DtrBzeIR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403951AbfGXTtI (ORCPT + 99 others); Wed, 24 Jul 2019 15:49:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:56998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403946AbfGXTtG (ORCPT ); Wed, 24 Jul 2019 15:49:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9026121873; Wed, 24 Jul 2019 19:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563997746; bh=UPAVk6ajjkvOD4wpHxrKiEi0fj3M1dn6IChWHBEuS28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DtrBzeIRaC1Of4XA0vVJFY8V/uXW6egxRzr8Vtg0a1gWO/LlsMbPqdcA5OEvXnuN4 //j08/pt6N23cac62mlgyZYnmp6fmyjuPfVpNzdAzPpohSMC5B+485iA7NZYqeXB2H Q3mYtb5lxb7Qe9bSL8aaGd5kzZZz7u7qluDfcBYQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anders Roxell , Hans Verkuil , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.1 129/371] media: i2c: fix warning same module names Date: Wed, 24 Jul 2019 21:18:01 +0200 Message-Id: <20190724191734.595135111@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191724.382593077@linuxfoundation.org> References: <20190724191724.382593077@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/i2c/Makefile | 2 +- drivers/media/i2c/{adv7511.c => adv7511-v4l2.c} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename drivers/media/i2c/{adv7511.c => adv7511-v4l2.c} (99%) diff --git a/drivers/media/i2c/Makefile b/drivers/media/i2c/Makefile index a64fca82e0c4..55a3a2dee2de 100644 --- a/drivers/media/i2c/Makefile +++ b/drivers/media/i2c/Makefile @@ -35,7 +35,7 @@ obj-$(CONFIG_VIDEO_ADV748X) += adv748x/ obj-$(CONFIG_VIDEO_ADV7604) += adv7604.o obj-$(CONFIG_VIDEO_ADV7842) += adv7842.o obj-$(CONFIG_VIDEO_AD9389B) += ad9389b.o -obj-$(CONFIG_VIDEO_ADV7511) += adv7511.o +obj-$(CONFIG_VIDEO_ADV7511) += adv7511-v4l2.o obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o obj-$(CONFIG_VIDEO_VS6624) += vs6624.o obj-$(CONFIG_VIDEO_BT819) += bt819.o diff --git a/drivers/media/i2c/adv7511.c b/drivers/media/i2c/adv7511-v4l2.c similarity index 99% rename from drivers/media/i2c/adv7511.c rename to 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 #include -- 2.20.1