Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5399439ybi; Wed, 12 Jun 2019 01:44:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFNaMFv36ijomH9mhi0+SiLo0y7fVl+h81Fq+OVkz/Nc9UCiEo9ZBgFqHZUeeqMRzxhg3K X-Received: by 2002:a62:7d13:: with SMTP id y19mr26948618pfc.62.1560329079192; Wed, 12 Jun 2019 01:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560329079; cv=none; d=google.com; s=arc-20160816; b=sfuhPoCuXJHV+ue2Uy7c0V1YznaCVhm2cnDII/Q1HPgOgq/MpnyA3iA7IBf3+Gy8KR tLE71OkBv+Y5+4bHxXlwjDZD3O1I3ketfaI6VPLegKPlf8DJ2rF099KJmnBP1rx4/fUa p7kfww3Wb6wTFW96bts8oiKQujfwJFTBZKE0pivwc6Q4nhE9HVDh/gW12VSHhYyz6xHQ 5lOv6RJeUWOVq418PvOJEFjwCg80zIOwjcnjmziWbWrQg/rPC2DCbbJMP4jIf3Q+ke/K 4JHt1vY+LnS8hgPMVbXoOpL8g1Wp/3saMd8NqLRl9R5Fl2NrXM88X3adx/hcVbeOiEKz nzMQ== 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=lFS4BBAAFXbjrbCxdYjYSGPzdbbXyO/GncmZQneFLcA=; b=LE1W+tHsmVeUpPtarZTtJIVKiQ539yIWBIrPVNq6nmx2Ds2fAKkGkBeks9hCrhM+N0 VMiijZKZKzTWoHyKb9YLQ1ClBqtgXjbLKUa0/hSai4yJ2JFPZY3NcNKM1TxdjFoSKvyZ hy9+AjDagzynUiJ/iDp/iDuTgAGrcdxy7UtfubE3s858H2tFJnv7WPnkptSMyYfrSWZg 1WC/XA8wMNz/xNnDuE+nB9u1rCw8hxh646I7ZiZGZ2K8/NOlNOQ9LqSK9xnUKDASeaOd 1hOLLGDyhkQa4DYv/B10IvWpra9Osk9pMCgc2WNpnCPFoj504Re2ctBlkv4I2MH8jkuq 8pCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qin+oZhf; 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 a4si15972330pfn.114.2019.06.12.01.44.24; Wed, 12 Jun 2019 01:44: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=qin+oZhf; 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 S1730136AbfFLIMA (ORCPT + 99 others); Wed, 12 Jun 2019 04:12:00 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:38689 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726716AbfFLIMA (ORCPT ); Wed, 12 Jun 2019 04:12:00 -0400 Received: by mail-lf1-f65.google.com with SMTP id b11so11343639lfa.5 for ; Wed, 12 Jun 2019 01:11:58 -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=lFS4BBAAFXbjrbCxdYjYSGPzdbbXyO/GncmZQneFLcA=; b=qin+oZhf13sdSKn1SKVta6xNQYBa7ZCymdbgUUHhuXuNkSdmsnN+xPwGBDrKl1DDKA 9eirix1ojbveQYt3vkTmM3znNupkTqQ8im6xurMFPDyRXfonbylfyKnt15BDcEym4lMm zbtDPDw9VXTMVRkSt4rI+FWRMj1Xt9LbcvKTqAjccyQz1RgkOT7KcWQMjwFvReihwunX 5IId7kX7++BKRB2fbN9hvksAPw8W2FWW8C3fA5ZdlzJyuJ3b7B0RFoEVakEDyZ633Z8p MGnaSs3SJUvJl5KKJ4xQOKm/SeukK6uVQdR8m6q9ikusAy5ui1WToMXZfIqpBKQxclhK 4grA== 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=lFS4BBAAFXbjrbCxdYjYSGPzdbbXyO/GncmZQneFLcA=; b=EhbRSdGRt+Rhy/QSTx/y28tleSHT7fOo5/hIN9dmbMVEaimO/4jxgTy/rLv8LpAOyK TXMQSib4NokVfpjf+Kxg1EC8OrVHQq/CkvXSpO2RGuvvVD7+O6m11EepBSLUB4E/rM21 AW0HeyrCDkytul88NqpnXvpAKF+hzUEQv4xfGs/09WhQbNWmJzhd6BBEkJxVty0BtZHc JJMMxV+6xC1O1unUaIT81fqKo5dKspFjkuv31yNUSMgc032VKvkOxHq0kwnNvBGs2SV7 33+EDKMv00mgkXthx6L6EIdNb38hcO1LIBFVm9kiS4CbmtHSl9e5YsPhqtnjSU0xUiZB Ak3A== X-Gm-Message-State: APjAAAV57/Esf6mwgNqnc2xai6CyvxszfzPVSWsK+Q9HyJSt04OobprE sJ0bROqCyNHGMqWpbGNSv/U3hGcRTzhAmA== X-Received: by 2002:ac2:4466:: with SMTP id y6mr13435120lfl.0.1560327118141; Wed, 12 Jun 2019 01:11:58 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id z6sm2544076ljk.57.2019.06.12.01.11.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 01:11:57 -0700 (PDT) From: Anders Roxell To: davem@davemloft.net Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, linus.walleij@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH v2] drivers: net: dsa: fix warning same module names Date: Wed, 12 Jun 2019 10:11:47 +0200 Message-Id: <20190612081147.1372-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 driver name is rtl8366 instead of realtek. Signed-off-by: Anders Roxell --- drivers/net/dsa/Makefile | 4 ++-- drivers/net/dsa/{rtl8366.c => rtl8366-common.c} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename drivers/net/dsa/{rtl8366.c => rtl8366-common.c} (100%) diff --git a/drivers/net/dsa/Makefile b/drivers/net/dsa/Makefile index fefb6aaa82ba..d7a282eb2ff9 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) += rtl8366.o +rtl8366-objs := realtek-smi.o rtl8366-common.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 diff --git a/drivers/net/dsa/rtl8366.c b/drivers/net/dsa/rtl8366-common.c similarity index 100% rename from drivers/net/dsa/rtl8366.c rename to drivers/net/dsa/rtl8366-common.c -- 2.20.1