aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/701-net-0363-sdk_dpaa-ceetm-export-the-ceetm_tx-symbol.patch
blob: 0d82df49fa8d81831bb9f611578ccaf70dd58801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From c741a131f2fb267b5b3bb333aca2453a07536535 Mon Sep 17 00:00:00 2001
From: Camelia Groza <camelia.groza@nxp.com>
Date: Fri, 20 Dec 2019 16:00:07 +0200
Subject: [PATCH] sdk_dpaa: ceetm: export the ceetm_tx symbol

In order to enable building the driver as a module, export the ceetm_tx
symbol for the DPAA Ethernet driver to use.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
---
 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 1 +
 1 file changed, 1 insertion(+)

--- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
+++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
@@ -2077,6 +2077,7 @@ drop:
 	dev_kfree_skb_any(skb);
 	return NET_XMIT_SUCCESS;
 }
+EXPORT_SYMBOL(ceetm_tx);
 
 static int __init ceetm_register(void)
 {