Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7864593ybi; Thu, 6 Jun 2019 02:48:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+TgDIKZ+YL0WUSQoJrhgO8g2C9Tl/B3jX+zFnldBJgu3vTqiTCGpSZ28YeeVTh8dFn02r X-Received: by 2002:a17:902:7615:: with SMTP id k21mr46678342pll.253.1559814519393; Thu, 06 Jun 2019 02:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559814519; cv=none; d=google.com; s=arc-20160816; b=MfV4z1AtofqkAcHySm2itULYhQMoD2ZBEy4qCnt6T4abzjBz6+qNuYYK0FvuVyrily nJpXZZNdNxvJSDyftuvSMdzcuTeAwnEHkDHncVLkDTXaWCqywWlI0ikAFGuNsYAlNEG6 Nz6HrCz6DXO45c5cXeMbxog0oxD2gmumdXLEnAT7/pqJVJJIMwTQBFanGMKq4Q8UZwnc pLI2/BrUXxpOqWcaSDETFWndYfut+Wjwg3nYrNaPF5c4iQInJ8s2538dfNGriKqtO0Mz 3gb3m9OYzQjjaF2QfqGqPTWZt7DKmScsjvZauzemBd2isc+QfN0iq9lA9fvePHyH1fYS sjeA== 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=l/U6XWsLOhFjdMqLKkh6fLtzFOqDQWJVhwH8yel62eg=; b=mrHekS1m8DrodASj3eR81D9xlykusjISEpt1MriWPKAWzCgcv2LB/TNEyxYEdrNCj0 u8QxPWz/8vP1b+R1yU1unVYDs1hCngHwbNSXej3HuzvhK+M1l1GDX7ArBcdUnCFalpTn m1zdT1svskCJm91DxMLxqW0Pv32IRHTpzT8x7LpK4dEOmFw0RHdf9wbdYGizY2qp51Ji 62+e5wmF2frWg7LgAWtzsV3QTweW8BQodTaGN6brDweclk7hhlOwofDjR7GDXsCGJmgm VHtcxzIACQfhK9R053yVWram3Z6mFzY7D+FLQOhQS/ASbp20b9mu+U02pTwHIr8Qyur1 JAVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DPqi9DXw; 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 r5si1683491pgp.88.2019.06.06.02.48.22; Thu, 06 Jun 2019 02:48:39 -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=DPqi9DXw; 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 S1728020AbfFFJrP (ORCPT + 99 others); Thu, 6 Jun 2019 05:47:15 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:36253 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727734AbfFFJrN (ORCPT ); Thu, 6 Jun 2019 05:47:13 -0400 Received: by mail-lj1-f196.google.com with SMTP id i21so1384427ljj.3 for ; Thu, 06 Jun 2019 02:47:12 -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=l/U6XWsLOhFjdMqLKkh6fLtzFOqDQWJVhwH8yel62eg=; b=DPqi9DXwR+/hq7+Y9ZtMxZT2lLXGKzxdH/38Gu1SLXrFX1a+ucNrqvP8hDzJ33uHfp pHEwDO0hH6zLdP51PIE7a9x0i3YEr55tq9dzzKM2sf7emuDCE24z6TmisXtKu4JZYCfT I5+Ywy17dLMfSskwg73uua2d5seIGWnJH4ccXJGPEm56bi+clkBBXjvOTAbhkMQl7xUu REhmNfRmiR3yPcEvujzxpqbYiiNCMdqFFPlGaOIrpBDxtQDH8j1BgnS/FfuowKEobouO ZtKE/RsncvrSsnltdI/Y98+ttSi+9orKWxSDoJjdFl077xhmlcWcq4CB/fwN06jV3ZJQ pFbg== 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=l/U6XWsLOhFjdMqLKkh6fLtzFOqDQWJVhwH8yel62eg=; b=dXTTNAQczslTeXB0n6U1GbBOYex2xLCmlnxTLSAJSYV6VwGQBl9+oWFTmpAP+VDo27 tAvbHfirN2L7MLW/H680Joh+UJxn7a3eK4p8dY7ZRoKwNI52x+CZzJ4kImTaIS84yRNI rkrYxqmJzmGvFCd7XQY1X1R5x50qwLzniMbR9ES5KKb8HL0Lmy90/nVUWwTBXdaeHqrB /kT9GeRb9vg51kW/Kb2J1u2KMCWU2LqmbBw04pmI0s0f2fyB0MdGPOrCe+0PAdqS+QiN DKdiS+bEYJAkAjkKUcumny7TDmeCpdWRo9X90XKE5HZgolkjH4SEPWhU9g62pplDCKaC GboA== X-Gm-Message-State: APjAAAWu1GnI4Y6oG9EqdDLS5fBblWDAnPoRe0CRGwsp3oSrm/UxyVWB c3GyTCGQfVe3a8IKA/R6Da2+yg== X-Received: by 2002:a2e:2b11:: with SMTP id q17mr24274621lje.23.1559814431865; Thu, 06 Jun 2019 02:47:11 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id q2sm217457lfj.25.2019.06.06.02.47.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 02:47:11 -0700 (PDT) From: Anders Roxell To: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net Cc: marex@denx.de, stefan@agner.ch, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, b.zolnierkie@samsung.com, a.hajda@samsung.com, mchehab@kernel.org, p.zabel@pengutronix.de, hkallweit1@gmail.com, lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, 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 1/8] drivers: net: dsa: realtek: fix warning same module names Date: Thu, 6 Jun 2019 11:47:07 +0200 Message-Id: <20190606094707.23664-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_NET_DSA_REALTEK_SMI and CONFIG_REALTEK_PHY enabled as loadable modules, we see the following warning: warning: same module names found: drivers/net/phy/realtek.ko drivers/net/dsa/realtek.ko Rework so the names matches the config fragment. Signed-off-by: Anders Roxell --- drivers/net/dsa/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dsa/Makefile b/drivers/net/dsa/Makefile index fefb6aaa82ba..dbe8352cf8a4 100644 --- a/drivers/net/dsa/Makefile +++ b/drivers/net/dsa/Makefile @@ -9,8 +9,8 @@ obj-$(CONFIG_NET_DSA_LANTIQ_GSWIP) += lantiq_gswip.o obj-$(CONFIG_NET_DSA_MT7530) += mt7530.o obj-$(CONFIG_NET_DSA_MV88E6060) += mv88e6060.o obj-$(CONFIG_NET_DSA_QCA8K) += qca8k.o -obj-$(CONFIG_NET_DSA_REALTEK_SMI) += realtek.o -realtek-objs := realtek-smi.o rtl8366.o rtl8366rb.o +obj-$(CONFIG_NET_DSA_REALTEK_SMI) += dsa-realtek-smi.o +dsa-realtek-smi-objs := realtek-smi.o rtl8366.o rtl8366rb.o obj-$(CONFIG_NET_DSA_SMSC_LAN9303) += lan9303-core.o obj-$(CONFIG_NET_DSA_SMSC_LAN9303_I2C) += lan9303_i2c.o obj-$(CONFIG_NET_DSA_SMSC_LAN9303_MDIO) += lan9303_mdio.o -- 2.20.1