From patchwork Thu Feb 16 12:48:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9577057 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 53FA460244 for ; Thu, 16 Feb 2017 12:52:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 379812858D for ; Thu, 16 Feb 2017 12:52:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C38A285BA; Thu, 16 Feb 2017 12:52:46 +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 C79742858D for ; Thu, 16 Feb 2017 12:52:45 +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=v0vIIRC/P1VGa3Sa7Rm2fEyyxmjEwRARnqtjGzR5Xxc=; b=iD0kTTzfPE7iJ9NUvqgM8Rd3Wy 9Hf78FEMoOpBEaW3BZA3Bi6Lp4VpsFdFCKbEDnUnMa9p8nhXeMbj8K8kUAtTbsAHRuqe1ZX6f9bZc vScoLcL8/iRMeVpaTutgIT+7mP3KbDMRwzEfWdIj6QjIOsylAkjpFrLtMTW5cQcIZZUoxVUebk/dw Sm5AEEiP9WlaJaSjQGyk2mQQgJ5IMp//rCa4XauCmArXVoX2qz17Y/6M5qman8PFnMcMCsy04CBU6 OcH8KtthZuWB4/7c0+5KoyYL2BHevp4EKcUSXLAZwmSyJW7hXItUfuQtYxTAX1a2WEMrycsAtqpvM SoyP2OQA==; 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 1ceLY6-00022Y-5N; Thu, 16 Feb 2017 12:52:38 +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 1ceLX9-0001L3-65 for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2017 12:51:41 +0000 Received: by mail-wr0-x243.google.com with SMTP id z61so1156831wrc.3 for ; Thu, 16 Feb 2017 04:51:18 -0800 (PST) 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=FEssDMEn+yQSBiJ4WA9QTZgPw7tvPSui41rbHebgwok=; b=GBFG4aZt4NkHFxt7IvYVtItSooQx8CLFl0v+OZLmrJVLxG1AuMtgE/UGFZUPvMhG2d pErJixneOms7SRWf3TcgmXYN3SbLyd7f49gWUW71D699FRzJMQD3hZehIifgAYMCwjlj d03sut6GKzw2GA/4ED0YliCLuzYt0E2b00+ZMgLRtqlqHEV2WSiuzmSCoHo06lLWZX0J aitB2AUccS87zf6QUJzKIK/h+oEmMaCj3JtlvgfVttD3k3eI+0iByudvRqF3MGKeK3SM WHlhIdqMK7FIs893Vz0dkA8sudiJPy54iiPOYTLZYam5eVHcQhtAv2uSg7fmGd3NTgkQ e5Ew== 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=FEssDMEn+yQSBiJ4WA9QTZgPw7tvPSui41rbHebgwok=; b=VgaYwGOK1w7nkSLMwaYMCWjwwIyRV0MU8py1Yd2yrEZJ2i0c5CDN64m8NcZS4Pdh3X OQKlPbTjIZNuTh0bCooWdM2cbAsdtUaEmAQI8exc9tPPBHRAUhZuYIlVZ+A+RIkH1tKP 8HavVZ18dNswgem421tN5AlecsU0B2OQ8CF4Lz9ymytKs9yDglgY5C8Ibnsp6NOkmLrM Ks+M7LMMgwhW5f1ad9KZOy9241GTvVXDhi2ucUZMMb8cso/EMniPkxUUSszGpZokwxKq 9GCtaONL9ZF3EITRU/Rz+krHQgkWVE6xVra1g1zl2faopyRw2Q7NvU7WT8TD91p2bvzw LPPQ== X-Gm-Message-State: AMke39lPDXYmoYBkfpHqFbnis5FYW0fn2xjphLZHTMFGZgUlZle8ey1ewl2OeQQaGko3PA== X-Received: by 10.223.145.227 with SMTP id 90mr2244770wri.156.1487249477447; Thu, 16 Feb 2017 04:51:17 -0800 (PST) Received: from Red.local (LFbn-1-7035-57.w90-116.abo.wanadoo.fr. [90.116.208.57]) by smtp.googlemail.com with ESMTPSA id o143sm144705wmd.3.2017.02.16.04.51.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Feb 2017 04:51:16 -0800 (PST) From: Corentin Labbe To: peppe.cavallaro@st.com, 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, alexandre.torgue@st.com Subject: [PATCH 02/21] net-next: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Date: Thu, 16 Feb 2017 13:48:40 +0100 Message-Id: <20170216124859.14346-3-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170216124859.14346-1-clabbe.montjoie@gmail.com> References: <20170216124859.14346-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170216_045139_460324_BDDA659A X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. 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 e60bfca..0ab985c8 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);