From patchwork Thu Jun 6 09:47:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 165963 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp8549833ili; Thu, 6 Jun 2019 02:47:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVGZ14uywy4uKwd/4hSPOYhS9fe0+f+PO1VstztuWgBPkNeV689Jfw32N3zwhTW1qXskTF X-Received: by 2002:a17:902:b18c:: with SMTP id s12mr47712917plr.181.1559814447146; Thu, 06 Jun 2019 02:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559814447; cv=none; d=google.com; s=arc-20160816; b=k0v1KYMQfVXXTfHDfZClO9xolZxZUbKGSkQuo1CbUZVgvWkndtKTpYQ8YV6st/8QFf uhN1CPZ59bpTBDgJ2IWOj+YHDbsCTZXDQ1e2r+gz9P7rGKzpmKp72BJENE+auEOJ9IX8 5lTPEr4GU4WzBQKKZCty56X9/foRMVdLCbgafsG/LMTXKsM+ad9fkyTR+NEwcoblR+16 ZKB+PkJy0G9j/dc3Z3Pq74gB6/Y1bfhLI4NTopxOfn01rC83ESUA0Nq3KJg30zY/SAqC lz271pyu+UHCkF5KgShpO0VXAoVLy5bP8Poe7otx2BFFhfeO5iYepeELscC2GCpmnAHy Ugyw== 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 31si1738503pgo.151.2019.06.06.02.47.26; Thu, 06 Jun 2019 02:47:27 -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 S1728103AbfFFJr0 (ORCPT + 30 others); Thu, 6 Jun 2019 05:47:26 -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 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(-) -- 2.20.1 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