From patchwork Mon May 1 12:45:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9706449 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 F3BBE60387 for ; Mon, 1 May 2017 12:48:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E242222B27 for ; Mon, 1 May 2017 12:48:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D48D528066; Mon, 1 May 2017 12:48:50 +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 7599E22B27 for ; Mon, 1 May 2017 12:48:50 +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=N9zgY4zMEKr9a+ZnM3FcNzXIuI 4w+2gyOXzdQzWxZSnyXQmAdZf1vlKxmHF819eiK5dTxWtXrGidoWMg+c2VNrjFhk0qJWVT1O5u06p isM5gpNOdoTdefCtWrRycxvsaW33SB3fqImpViXtZSmQ5ZQME/wFTUQyeXfAIqvC8nBVtIqqi8JG4 pvrW+He362wz+FWceH5heFvP41T17P/uzyqa5rmhtJ+mwfkgsZMdqwVmItLK7e4QzxsNXwWSiPwWC 88tsIWuy+6GRpKZfJXNjJqISCzRq2ot0VEGhcJjjzevwUZPPswf+ofw6xWcy+As5CKvu6A67o2Qa5 7OfSXMDQ==; 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 1d5Akv-0002Z8-VM; Mon, 01 May 2017 12:48:46 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d5Akg-0002JG-Cg for linux-arm-kernel@lists.infradead.org; Mon, 01 May 2017 12:48:32 +0000 Received: by mail-wm0-x244.google.com with SMTP id y10so23284369wmh.0 for ; Mon, 01 May 2017 05:48: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=eDbTMTXWUPMP11hmhxN7EnsD/XvS6zNeJGC9N5rlJ95J5Ktbh9JXUcroJp62ISgFnN J32GK4FjZCA4nMoxCf6f5P3fds5banF5x18CnsCo5MLFaMSuEcZzEMjVEj3kxAvyQ21D hFCRpL/acRLESpk3y6OfuX2pUCFAEVSJdN2PC3X/7KZRA9oYKwFURjXxmadsbOgDijWL 7kJ36kKHhVHOnAXKsjy96tEPDSMdO3TumdjWscnTLbH6KTwEZ+FOQQ87NFMdOHJj+Hjq b8raHQPlCcHvecbcY12YTdy4Q9tiL4J0ycUL7D7doZI0m451ccRprtoX3mSRHicffb5F pclg== 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=rnjYaQR1pZlpNEMJs0H3PdwZZSihNQa6RIXxWji0vAngUKPDPGnHoKuLRcut2yPMRv jF79AwhLRyE3p7wVuiX88przLt/flD0BT+XKxU7iinLDQ54fUHomHQEEELbvolOK02HJ Up5rUVf4IbJK2q67bWoWOGgCl2YUxXwEFp37jbZprCs03/5SjW8lXrSJrxmvFV7MnLHx O4Vz2RvTh0sYRjrUoXUrw/KbJm5JZSBI07AZ7Uj1MXdxD5aHNpAXXPsagmYnAtiDlcdG z97StgTQjvx3/WtSGPwUeEtqVoSeXCSaALBz3EgIPHeW2GCxKzRuccn5pgnNYyWhNIHD occw== X-Gm-Message-State: AN3rC/45TeqZLYCQG/UnpCXXJZt/wmDYUgurKHpMMYoQcBZUcXyYzHUS DQze47p+JJBnVg== X-Received: by 10.28.203.132 with SMTP id b126mr17004wmg.90.1493642888210; Mon, 01 May 2017 05:48: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 4sm3364514wrv.33.2017.05.01.05.48.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 May 2017 05:48:07 -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 v5 01/20] net: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Date: Mon, 1 May 2017 14:45:01 +0200 Message-Id: <20170501124520.3769-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170501124520.3769-1-clabbe.montjoie@gmail.com> References: <20170501124520.3769-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170501_054830_602400_6E0C4BAE X-CRM114-Status: GOOD ( 10.25 ) 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, Corentin Labbe , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.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);