From patchwork Tue Mar 14 14:18:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9623505 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 1F42F60492 for ; Tue, 14 Mar 2017 14:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E76C25EA6 for ; Tue, 14 Mar 2017 14:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01F8426CF9; Tue, 14 Mar 2017 14:22:07 +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 8DE9A25EA6 for ; Tue, 14 Mar 2017 14:22:07 +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=erqVyNOBMbFoTwJ2Ny8rqoSc55 IsytHe1Lbd+v0ISoGp8ysMdjAOuDg0ziKQh34n7UIKaIYo5yrFi2W3EgtAM26kenMOfeSr7DZnATy pT+q9war1UFpIz7XQTnSki281MhvkDqzqYrZUir5mmiZJshprMeFEKBhQjSN4d4PsqvwMoT51u466 jyEGTqGc/Ld/OE9n5PEfUUAGcVh/8coejAAz9dy0QPFFVx39uzAaaj4IK/JeiigRbLR42hjzpNulE LIgrq+AZYq8ADouZ8G07URuJ8upVBZnSQrMnhtTaNAr5ewnCZZidHEV9FKbEfs0+I+3cCDANaXFRG dF9uifmw==; 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 1cnnKp-00076Q-BD; Tue, 14 Mar 2017 14:21:59 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cnnKQ-0006s2-3y for linux-arm-kernel@lists.infradead.org; Tue, 14 Mar 2017 14:21:35 +0000 Received: by mail-wr0-x241.google.com with SMTP id u48so24180636wrc.1 for ; Tue, 14 Mar 2017 07:21:13 -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=FEssDMEn+yQSBiJ4WA9QTZgPw7tvPSui41rbHebgwok=; b=F8Eb3mtNFlAB3Ppu/Q11uKaxr1D5smissRQO+qOB8ZZkYVMasu9BCldLBvY3WFDTLH JpexYSPi5t5KDp//jnkNbazZVza9pui4+VOlqiwxHGGol5640m7e7678173DKPVakJyP m3sYr3vQnpJfuMdeyxR3M/YERN4oXKNAYQ1M03SCTJpRSOC/Cl6G25jEwajgqi2MRQLs Fi+waZJ3H5yoqeLkZwAs8KeTlNIieXvkTDYZJllXUAF04cNyZ1nwX6wk+1kVQrSW/cLD kR2K/PSnCl8ckCwxSbgZpHezpcerXq5Rr7HrwCGc36By91gMP/Y8uwwxzJo4c63auPFf ewFQ== 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=g2QCvQH6G4iilod7MI3W8ABohedyGdVWE1m5eQ+MroLoaXen530QyCm4C6vsB2d4/T EYJQbFvGT1j6lphVPyEEOlGrnCjKfjK2M+ShQE1jnUjiTszTnKyP+eCudCY0PnUl36qN n4GmXO3nG2Kbquut6Y95xONqUQGD4vLm/GlSRRwueWQLdiEpQDglGbpVWjgdcmuqEOV6 kZ8aLnp/PS/Kt47FezEkCAcouIYRdw3MaEHEQ4fiDoCc3ukfrppvzbU0fpTWWkrilXuw PgibB55LHN84INx1TtY0Y4uQUOxMe9NTizYHAdSJp+X3vj10dUBI9d57GovnWKFq/mn7 8Xgw== X-Gm-Message-State: AMke39knhrlYxytdrv+XzlNW0EI1LglbwsZXeW6laMIdcyNs6dwRuFJXYYQnFnK46VgeiA== X-Received: by 10.223.133.215 with SMTP id 23mr33704305wru.31.1489501272719; Tue, 14 Mar 2017 07:21:12 -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 o143sm49526wmd.3.2017.03.14.07.21.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Mar 2017 07:21:12 -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, davem@davemloft.net Subject: [PATCH v2 01/20] net-next: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Date: Tue, 14 Mar 2017 15:18:37 +0100 Message-Id: <20170314141856.24560-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170314141856.24560-1-clabbe.montjoie@gmail.com> References: <20170314141856.24560-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170314_072134_337414_2A6C3BCF X-CRM114-Status: GOOD ( 10.01 ) 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, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 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);