Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3820237ybi; Mon, 29 Jul 2019 13:15:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKS9aIyUhvAPC8Iohu/IolzFpVYvVutOi6EVnpFOIqG53xhaV98Mp3xOc+4RveRuEQ8x3H X-Received: by 2002:a17:902:e281:: with SMTP id cf1mr108228479plb.271.1564431340544; Mon, 29 Jul 2019 13:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564431340; cv=none; d=google.com; s=arc-20160816; b=QuOGmF46hVB5Dwem/mCh45Z59czY8sIWijYUwJEiNokXnmKIFJ+FGeWGjpDVtNCdkI 6HHzb3w4EMaBKTyKTtodPoI8whRfzU4mkJCjwMKGpiISU1jVQkfrakQxj4oDivFCv0Jq +9QChnslWS18fO0Gunjgrcieu+PPRnCk5CpZOvdCh9gfGyIdszT8DO8Vi4XeS0ScuM3B QEyaAmKinWoCLDFvpCFoekKIcVQMU8cLUz4tZ/VqVnO6erKbSfGk7R40zgngN1JaTsvC v1CqLjzMoo0gDAOQBRlKdHaa7s1vfSCTXkFqpHq+H3HX7rx6nLOW2JrOub7mxhIqsy0x cBYw== 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=WVd9ufCwx/mNJ5ELmaypk0CKoQHfV/f3+owqVzKy+OI=; b=Gt0f7jsQdMReaeAO0TjrcP/CvHNsEs5lc9JLSW+UrG8b0cUZE+oX4hsL+CbdnFFKFX 1KPzDTerSN/PEWtmviw/JG06aCbTyOv8CpZ9KZlZtH9M2FiFhGP9zO4wcw4mS6FA1BEl OIOwgcQdiw0KfzqR5IMwVaRKQEu4F9tmHyMjnUj7g8Dj6f0mFvro/laYijc+HrqUYwro 88/4VG+X7IfeSCAHlc/ijvCtj4nl9qGb4Ha7PxuRTfe2shy8RYvHkv/0UrzaH2rXNHlF r67qj/NYCkSa8XA3qaPg6SX0hXZTHfDAxUi/9/jzCNRuXnaAuEfS8C1aKVUxxZ/qmKDS AJPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H8nlaEh+; 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 q13si26201809pjb.13.2019.07.29.13.15.25; Mon, 29 Jul 2019 13:15:40 -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=H8nlaEh+; 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 S1728733AbfG2T2p (ORCPT + 99 others); Mon, 29 Jul 2019 15:28:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:41406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730008AbfG2T2k (ORCPT ); Mon, 29 Jul 2019 15:28:40 -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 6E1632171F; Mon, 29 Jul 2019 19:28:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428519; bh=QZgE5vkXhftBKTob9HNATHqbyzaacXCAFu0qhLBvlsY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H8nlaEh+D54+88Keelet4CMbRt7+DxbTJpTcXk37OvsHc9U4JJCYfKvVZp0jhQn4q zUe9woBXfvt78I5SFwcTnCc6IcAyyo6u7juTlqrcJaSIgNseF5MpgYtd6V2aDVFQpf 81XQbGXjDqaFjPUe/YrBZ5VFd+Z1hQ+kL+67Pfi8= 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 4.14 063/293] media: i2c: fix warning same module names Date: Mon, 29 Jul 2019 21:19:14 +0200 Message-Id: <20190729190829.386726510@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@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 f104650d6000..0f5c5a3cdca3 100644 --- a/drivers/media/i2c/Makefile +++ b/drivers/media/i2c/Makefile @@ -33,7 +33,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 80c20404334a..ef1144668809 100644 --- a/drivers/media/i2c/adv7511.c +++ b/drivers/media/i2c/adv7511-v4l2.c @@ -17,6 +17,11 @@ * SOFTWARE. */ +/* + * 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