From patchwork Wed Apr 12 11:13:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9677197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3494C60325 for ; Wed, 12 Apr 2017 11:17:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 258C72861C for ; Wed, 12 Apr 2017 11:17:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1956F28636; Wed, 12 Apr 2017 11:17:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 974D82861C for ; Wed, 12 Apr 2017 11:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=IgKkN7Q16Yjq+dqBDlXCTshnY2d7QtMBAyKoyZ8UPZM=; b=dROfbYhodZTkGHCMhkgKaX5+SN u9LGbNS7Tna5LkZJ2xUnEbTOfJf4TYKOtdNeGGfpofp0FbLbRI8XEGqlANiO1LdqSPwtfSTzo9lIf BcUd0RrRRvcpansysclk9fAfqxFiYUThkDCtVJPBy7RqC+HeacyZnoV5T69dhEEWcjkQjBghciQrB H6sNea62U+KEUx68AFNuUkMDXXjBaEARbfhwKSR+02OlEakQmm/DbCydwyLPpOXabyH9tZnVXMjFY v1eUyuyXsnJeAym/kVyxd/CDv+5AKfbp9LQGVi6OHF6fwddrnHJQSos10pV5IfVh1CyVP+k3aSBM6 zSYMeo7w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cyGHN-0005Ck-Lr; Wed, 12 Apr 2017 11:17:41 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cyGGG-0003mE-O5 for linux-arm-kernel@lists.infradead.org; Wed, 12 Apr 2017 11:16:37 +0000 Received: by mail-wr0-x243.google.com with SMTP id o21so3682449wrb.3 for ; Wed, 12 Apr 2017 04:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hcaHdXEHWVt/1fSozisCHT5N9MiUQWfrQCWumeulBY8=; b=bQjPQ6ykh3UfjGdxv7idqQ0eJ29PxojOwDglnGIFcosvk3EAkqr1h2eV37u8HlRtLl eTZcs72QOo0eHFMz7B5yp4qeUtgIM6/DMclafNccjyI4vN+xF2twcFGTZPFhkoMmGn/y +fVaM/XFBQIRLMatSBWGpt6xEYOLRtL6pCQiO3nRi/WmZ/AsX+ZglCW0+p6NY3lOEogm Rzo73AUrfIZvXzTlnG7hw/j7isam1ZO6Wq3dSLfo0FhR0rEbqRNyBIWpQAUPoQhmnU+F +OGCjiGx8iUmo+ACDshyvsAGwHqxE6AnoauFOWpIvAd51OK2KYHzmlBvz9X3hVkmnaZF Oa9g== 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:in-reply-to :references; bh=hcaHdXEHWVt/1fSozisCHT5N9MiUQWfrQCWumeulBY8=; b=jkKgOgGfAqaxrjgf8bvhV93AgYo11yeEitCKoBpjdJ4rtSLnDLe2E9XIxdCz51qPct CW2AAr2bMr5zTfiXrTxOcQmTSVrTcFhh9kcSeDmhbS4+nhrwPwc8f1oEjgl49zBQLdeF myQD9ff9xqG0q1Yl+fj517HZjjvIRcdx6GiRXbpEZZtPeBftvE1GIEoFp5760cK3lp4+ Vn8GzuvQ3grYNNmLa2vvtxDs8FV0TDQv9pR5Vt7+YKb4LDK9xiIeJ4OAM7Uu75XUHoUr bRremScHVtpBlGrDCQI+2Ij2vDDXi4V2rKFU3TKj7yUHPomT16wbASqmTeRm+7hx5Hnb kudQ== X-Gm-Message-State: AN3rC/6VtquUsO4xyt9KxQueK1Ppq3nhwoG3MhNiqSnMVDtpd2V1hlGoB6AAXLlTKEdt3A== X-Received: by 10.223.151.80 with SMTP id r74mr2538970wrb.6.1491995768654; Wed, 12 Apr 2017 04:16:08 -0700 (PDT) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id z84sm4727104wmh.27.2017.04.12.04.16.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Apr 2017 04:16:08 -0700 (PDT) From: Corentin Labbe To: robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com Subject: [PATCH v4 01/18] net: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Date: Wed, 12 Apr 2017 13:13:43 +0200 Message-Id: <20170412111400.2296-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170412111400.2296-1-clabbe.montjoie@gmail.com> References: <20170412111400.2296-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170412_041633_163209_7CB13A0B X-CRM114-Status: GOOD ( 10.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Thoses symbol will be needed for the dwmac-sun8i ethernet driver. For letting it to be build as module, they need to be exported. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c b/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c index 38f9430..67af0bd 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c @@ -248,6 +248,7 @@ void stmmac_set_mac_addr(void __iomem *ioaddr, u8 addr[6], data = (addr[3] << 24) | (addr[2] << 16) | (addr[1] << 8) | addr[0]; writel(data, ioaddr + low); } +EXPORT_SYMBOL_GPL(stmmac_set_mac_addr); /* Enable disable MAC RX/TX */ void stmmac_set_mac(void __iomem *ioaddr, bool enable) @@ -279,4 +280,4 @@ void stmmac_get_mac_addr(void __iomem *ioaddr, unsigned char *addr, addr[4] = hi_addr & 0xff; addr[5] = (hi_addr >> 8) & 0xff; } - +EXPORT_SYMBOL_GPL(stmmac_get_mac_addr);