Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7986524ybi; Thu, 6 Jun 2019 05:00:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8+IpnsB709+PqM4VlrYHpl256W3zarwk0XhmuyJAaJNUbrSPBsKCLA3qjRr/I5QxskNAu X-Received: by 2002:aa7:86c6:: with SMTP id h6mr15679127pfo.51.1559822411175; Thu, 06 Jun 2019 05:00:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559822411; cv=none; d=google.com; s=arc-20160816; b=hYX6RytqJyjFPycLC6ecvYqe4vvJPorqOOkXHyuj3dRNOX0w8V8CB+3VeZznRk8s/7 tkzPNKks2DyCbOrX1kqHFzaou7EVEh8OBczfLg+8EX/rLkRoCBIPDIKeWaohiCNNMgaY lJPFcexZhv1f+oyD35wodpwgwpCLOYpR/6CgiZg64tUW4L4nvSRGFdkXnoWrfGwpzdrw Lx1n/hlkwG32OP7BC9X2CHbUI8YpHI3PudAkc4aM/YJ4WPbDI/nwNAdKM21mAGG2Y7hR h/0gafaAHiKBi9yyqDhIQ3JQedl12NViCcZGFbIn8Dg1ooH/EMFKf+jZZPZLMkYo2HLw tgbQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=rKGTOfiJLhxkK5DAGNPwC06vm8bKZwP8i9X7cgh9zRA=; b=J8nwtsX19EA6GnhUVR69cegTR/pnFwkSbqVJglXj1Bq4zeR/YMzsSoIJBlK59eDHNg rpAyH3UWthEmprcJNSUQvceixndC7o4zrghgoIZB8n0dZmS6AT+bemVTDU67ANlHtDMf GsyPAKqU0h4rMES5b5WOuhTwK5u+PwJ9fVu9suTu1UOxGCROHY0HXJQv1wuDuhADXCJN psD3WgLhhPizCgLAcrErmXqycS/TIrvydOYmyv1crGcJ6U00NitHmntHeWEXVHNSgm+G M407FS6SxVjzSQ+b56FA+Qgpqae4dMepqdCS2e1aI1KCmEBBFP2byh8CbzIlnKG2zqNr YLwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K+PqH70M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si1759912pfa.36.2019.06.06.04.59.54; Thu, 06 Jun 2019 05:00:11 -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=@linaro.org header.s=google header.b=K+PqH70M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728097AbfFFJrZ (ORCPT + 99 others); Thu, 6 Jun 2019 05:47:25 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43419 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728070AbfFFJrY (ORCPT ); Thu, 6 Jun 2019 05:47:24 -0400 Received: by mail-lj1-f193.google.com with SMTP id 16so1354591ljv.10 for ; Thu, 06 Jun 2019 02:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rKGTOfiJLhxkK5DAGNPwC06vm8bKZwP8i9X7cgh9zRA=; b=K+PqH70Mt8b5TNW5xvyKMCLzJtovkyWC4zw7/gWft90LGfZ2cANg/5W/zie4WCakja iqBzR6M/vddI7/EJkTSwFeHsH6hRt4shQeumyR/ZYmDdgkZiqc5Wm6oLzCIacG4Q0Mqv lvJIBpKkC+6yMDO0x90jeibFkzrw1QpAao7YTIOOadlwLYolHX6oIJ4WCgLM2CD/yUgl ePdQIpZw28df1WlqwFUyJoe6wpBHUCyVK64DdRONB0FcZyGGFE9EMlKystWQFaI1LAzr Lg6zc7EfV2TgzfWHFK+Ug4ER7oXkMFTR73mMQVaH3VMxJUeutxA+xdU/7CS1ix1hp2qW ig2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rKGTOfiJLhxkK5DAGNPwC06vm8bKZwP8i9X7cgh9zRA=; b=nC6iyIeoFCXavzkRDIiHzW9888g8r1afzJDSMWLPGe5mQyg793onXVCXJFnHbXMoSf rQKAONHzc1lxi0HYzxx96Y13hVkEPHRyEo+BQIosNSDspAzbDk+5yg7ZhnF6LVKtTrVj 6C/F/77ItbkcQvayV1rtPjKtR8aw5uHmLpsFH477SS6b+xvVNeWjvjDmUxLKnNB1OjHg db6jTK/SUpDxN87wPEpx/Jsza1pYfWCeVUuJQA+Gywk2dx4Uix+h7E+Tp3fM3D29H0Df JZDk1pxfyP053a1rz8vpwo++pCt6o7C4cndFYkAOzHnlybzSf2E8DH0mAVZNJsjdDuZc ibPg== X-Gm-Message-State: APjAAAVGSvCYwUtQYZ5gMI1tX98ygE/Z9W/c6MUzCyLadoUTcfeIyleq oz5/HVhuPUCiMHdJDzamZ9VseQ== X-Received: by 2002:a2e:9284:: with SMTP id d4mr24398129ljh.26.1559814442103; Thu, 06 Jun 2019 02:47:22 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id r24sm124610ljb.72.2019.06.06.02.47.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 02:47:21 -0700 (PDT) From: Anders Roxell To: airlied@linux.ie, daniel@ffwll.ch, a.hajda@samsung.com, mchehab@kernel.org Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, marex@denx.de, stefan@agner.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, b.zolnierkie@samsung.com, p.zabel@pengutronix.de, hkallweit1@gmail.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, Anders Roxell Subject: [PATCH 4/8] drivers: media: i2c: fix warning same module names Date: Thu, 6 Jun 2019 11:47:17 +0200 Message-Id: <20190606094717.23766-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When building with CONFIG_VIDEO_ADV7511 and CONFIG_DRM_I2C_ADV7511 enabled as loadable modules, we see the following warning: warning: same module names found: drivers/gpu/drm/bridge/adv7511/adv7511.ko drivers/media/i2c/adv7511.ko Rework so the names matches the config fragment. Signed-off-by: Anders Roxell --- This is only one issue that have been addressed. The other issue is that itseems to refer to the same device name in i2c_device_id, any guidance how that should be solved? Cheers, Anders drivers/gpu/drm/bridge/adv7511/Makefile | 10 +++++----- drivers/media/i2c/Makefile | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/bridge/adv7511/Makefile b/drivers/gpu/drm/bridge/adv7511/Makefile index b46ebeb35fd4..e367426bd73e 100644 --- a/drivers/gpu/drm/bridge/adv7511/Makefile +++ b/drivers/gpu/drm/bridge/adv7511/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only -adv7511-y := adv7511_drv.o -adv7511-$(CONFIG_DRM_I2C_ADV7511_AUDIO) += adv7511_audio.o -adv7511-$(CONFIG_DRM_I2C_ADV7511_CEC) += adv7511_cec.o -adv7511-$(CONFIG_DRM_I2C_ADV7533) += adv7533.o -obj-$(CONFIG_DRM_I2C_ADV7511) += adv7511.o +drm-i2c-adv7511-y := adv7511_drv.o +drm-i2c-adv7511-$(CONFIG_DRM_I2C_ADV7511_AUDIO) += adv7511_audio.o +drm-i2c-adv7511-$(CONFIG_DRM_I2C_ADV7511_CEC) += adv7511_cec.o +drm-i2c-adv7511-$(CONFIG_DRM_I2C_ADV7533) += adv7533.o +obj-$(CONFIG_DRM_I2C_ADV7511) += drm-i2c-adv7511.o diff --git a/drivers/media/i2c/Makefile b/drivers/media/i2c/Makefile index d8ad9dad495d..b71a427a89fd 100644 --- a/drivers/media/i2c/Makefile +++ b/drivers/media/i2c/Makefile @@ -35,7 +35,8 @@ 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) += video-adv7511.o +video-adv7511-objs := adv7511.o obj-$(CONFIG_VIDEO_VPX3220) += vpx3220.o obj-$(CONFIG_VIDEO_VS6624) += vs6624.o obj-$(CONFIG_VIDEO_BT819) += bt819.o -- 2.20.1