From patchwork Mon Apr 3 09:14:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 9659053 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 940E760352 for ; Mon, 3 Apr 2017 09:17:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 844A1284D1 for ; Mon, 3 Apr 2017 09:17:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78AA2284D5; Mon, 3 Apr 2017 09:17:35 +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 205DF284D1 for ; Mon, 3 Apr 2017 09:17:34 +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=n0YIpMFwFT2yLbUxmmBk1gScWK N075PAKQ8GDyz6+YAFZeyfejBhKx8f8z1sAtANYxq7Zrfo9XhbZruEZncnHm8lcAbch8BfavhixZD eF1KGFm5y2YQcToUOY8G0mkdxQIU2JCI6LIwPmJYx5azlu21wVjIYFREM8LrOHC5ncf6/IvjPXYdh 11Htb2YCOmbubesBnoC+4wD5rmcqfWHr4v965cHYdpslCEjPqJB8RHiT2SxtbLtDDn6XeEl6I8Azs 60SnpOFlDDStDV1+WcTdPjOjdqpkhsUJD0BknzDJ7A+hv6upZdR0Di4PibvE7L6CG5epAOgtOhvNO 6TBY261g==; 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 1cuy7B-000393-SS; Mon, 03 Apr 2017 09:17:33 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cuy77-00030M-Vd for linux-arm-kernel@lists.infradead.org; Mon, 03 Apr 2017 09:17:31 +0000 Received: by mail-wr0-x242.google.com with SMTP id u18so31665667wrc.0 for ; Mon, 03 Apr 2017 02:17:10 -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=mqaoQYn6sYcLSGrLHNDl5zHRU+aeHIdaRWk8yc6oMxHW7hN4kga3ma6AuPAJiOTt7t 4/MQRXuZzRIA0VEAa8gd0IUjJ0AXuD3iGACdWTuef8nbPCjdRk6lb0b9FSHheEWTBHpx o97uWsyjWhlkCAUOs6h0qSp2XY82q7fyOpLr1JmYZGDDqYVf9fiBfwh7miNEXoNXCO4J 6OK8uN2jUBmeYC0oMCG7Z4A9Fixj69cO3V7Jvc1RA3c76Fy7+TBZc3b3T2q/aqzoax79 PUIiAbgl/NeZp5ovvqqqamyDfrXwr+DPd7UFYgEX8DKMheJEmzvEgMNdO8n6LVLeT/M5 s1PA== 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=P2J67h+o9YhP/0Zfea5UgfZwVbrdr5qXgkZCId18OD3ieMZ0KVt3hbF8Im69VW4kd1 6FgGWvpUelzeasMXMl1g5XHtzGg58bhyCbbFdE2ToER2zIcnQqgV0gcZPtLpKAfEW6yK biIgeHm0KsaRiOuXS10vAkH//0Yc4odFCnyZDIO/w0hFRN4z5ETyVUudy0Hj8UAUX/uG eKO0JGEQJeosINuhfY+WtcQ+q9tIUGDdXShTRlOiCVDLdR3CBef/k+dwN32o781GlwMC J9KV+YFHKQIro1TVXoFlwtIu4REsCleXrDHg49yQs5oE/vMhUxd6UEvI4VKHkw4+c6HQ RhCQ== X-Gm-Message-State: AFeK/H2NIl2i3b8g1VoJueTAwPq35kc5Fpx7wiILzxrXT2H6OgIfojqq8Qi6EqnwdP5K+Q== X-Received: by 10.223.162.198 with SMTP id t6mr15190162wra.155.1491211028851; Mon, 03 Apr 2017 02:17: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 v14sm13457558wmv.24.2017.04.03.02.17.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Apr 2017 02:17: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 v3 01/20] net: stmmac: export stmmac_set_mac_addr/stmmac_get_mac_addr Date: Mon, 3 Apr 2017 11:14:25 +0200 Message-Id: <20170403091444.29876-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170403091444.29876-1-clabbe.montjoie@gmail.com> References: <20170403091444.29876-1-clabbe.montjoie@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170403_021730_224293_400512DF X-CRM114-Status: GOOD ( 10.02 ) 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);